@staticmethod<EOL><INDENT>def syslog_generate(str_processName, str_pid):<DEDENT>
localtime = time.asctime( time.localtime(time.time()) )      <EOL>hostname = os.uname()[<NUM_LIT:1>]<EOL>syslog = '<STR_LIT>' % (localtime, hostname, str_processName, str_pid)<EOL>return syslog<EOL>
Returns a string similar to:

      Tue Oct  9 10:49:53 2012 pretoria message.py[26873]:

where 'pretoria' is the hostname, 'message.py' is the current process
name and 26873 is the current process id.