Seon create log dumps

From Seon
Revision as of 16:20, 26 September 2012 by Admin (talk | contribs) (New page: == What are Seon dumps? == Seon log dumps are binary files containing deep information about the system, like SQL statements, their results, network traffic, OFTP status information etc. E...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

What are Seon dumps?

Seon log dumps are binary files containing deep information about the system, like SQL statements, their results, network traffic, OFTP status information etc. Every Seon program generates Seon log messages, which are organized by the daemon "seondebugd" (Seon debug daemon).

Requirements

In order to get an Seon debug dump file, the daemon must be running. Verify this by checking the daemon's running state. The daemon must be running at least for three seconds in order to gather all needed information.

Normal behaviour

All Seon programs send their log information to the Seon debug daemon. The daemon uses a ring buffer to save the logged messages, so with a limited amount of entries, the daemon will overwrite old entries when the buffer is full. The daemon process size depends on the amount of entries saved in memory. The more entries are configured, the bigger the process grows. A normal state should be about 2-5 MB in memory.

Generating a dump

When a critical situation occurs, the daemon should be initialized to dump its content to an Seon debug dump file. This can be in two ways:

  • via web GUI
  • via command line

Dumping log via web GUI

Dumping log via command line

Customizing

Event script

Configuration