Home | Trees | Index | Help |
|
---|
Module netsyslog :: Class HeaderPart |
|
object
--+
|
HeaderPart
The HEADER part of the message.
The HEADER contains a timestamp and a hostname. It is the first component of the log message that is displayed in the output of syslog.
See Section 4.1.2 of RFC 3164 for details.Method Summary | |
---|---|
Initialise the object, specifying timestamp and hostname. | |
__str__(self)
| |
Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
helper for pickle | |
helper for pickle | |
x.__repr__() <==> repr(x) | |
x.__setattr__('name', value) <==> x.name = value |
Property Summary | |
---|---|
hostname : The hostname where the log message was created. | |
timestamp : The local time when the message was written. |
Method Details |
---|
__init__(self,
timestamp=None,
hostname=None)
|
Property Details |
---|
hostnameThe hostname where the log message was created. Should be the first part of the hostname, or an IP address. Should NOT be set to a fully qualified domain name. |
timestampThe local time when the message was written. Must follow the format 'Mmm DD HH:MM:SS'. If the day of the month is less than 10, then it MUST be represented as a space and then the number. |
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Fri Jul 15 11:57:30 2005 | http://epydoc.sf.net |