class documentation
class ZMSLog(ZMSItem.ZMSItem): (source)
Constructor: ZMSLog(copy_to_stdout, logged_entries)
ZMI-accessible log viewer and remote filesystem utility.
| Method | __init__ |
Initialize with stdout-mirroring option and active severity list. |
| Method | get |
Return the filesystem path of the active Zope event log file. |
| Method | get |
Stream the active Zope event log file as a plain-text download. |
| Method | get |
Return the parent directory component of a filesystem path. |
| Method | get |
Return the filesystem path from the request, defaulting to the package home. |
| Method | has |
Return whether the given severity level is currently being logged. |
| Method | LOG |
Emit one log record at the given severity and optionally echo to stdout. |
| Method | manage |
Serve a binary file from the remote filesystem as an inline download. |
| Method | manage |
Return ZMI tabs for this item. |
| Method | manage |
Handle remote-filesystem actions: execute a shell command or upload a file. |
| Method | read |
Return a directory listing for the given filesystem path. |
| Method | set |
Persist logging settings submitted from the ZMI form. |
| Method | tail |
Return the last linesback lines of the active event log. |
| Constant | LOGGER |
Undocumented |
| Class Variable | manage |
Undocumented |
| Class Variable | manage |
Undocumented |
| Class Variable | meta |
Undocumented |
| Class Variable | zmi |
Undocumented |
| Instance Variable | copy |
Undocumented |
| Instance Variable | id |
Undocumented |
| Instance Variable | logged |
Undocumented |
| Instance Variable | tail |
Undocumented |