1. 03 Dec, 2007 1 commit
  2. 26 Nov, 2007 1 commit
  3. 22 Aug, 2007 1 commit
    • 's avatar
      Logging Mechanism Updated. Now MAPI supports logging to files and syslog. · b27d4c0f
      authored
      In order to log messages to syslog, mapid and/or mapicommd should be executed
      with the flag -s (mapid -s and/or mapicommd -s). 
      Two different types of messages are sent to syslog, debug messages and
      general information messages. In /usr/local/etc/mapi/mapi.conf the syslog
      level can be configured.
      
      syslog_level=0 : Log only general information and not debugging messages
      syslog_level=1 : Log general information plus debugging information (debug messages are printed to stdout and syslog)
      syslog_level=2 : Log general information plus debugging information (debug messages are printed only to syslog)
      
      The default level is 2 (temporary the default level is 1).
      
      In order to log debug messages and general information messages to separate log files,
      syslog daemon must be configured as follows:
      
      File /etc/syslog.conf should have the following two entries:
      
      local1.info;local1.!=debug				/var/tmp/info.syslog
      local1.debug;local1.!=info				/var/tmp/debug.syslog
      
      /var/tmp/info.syslog & /var/tmp/debug.syslog are indicative names of files, where debug and information messages are appended.
      The /var/tmp/info.syslog & /var/tmp/debug.syslog files must exist before the syslogd daemon re-reads the /etc/syslog.conf
      configuration file, in order for the syslogd daemon to log messages to these files. To create these files, issue the following commands:
      
      touch /var/tmp/info.syslog
      touch /var/tmp/debug.syslog
      
      Then issue the following command to force the syslogd daemon to re-read its configuration file: kill -HUP <syslogd's process id>
      
      Define DEBUG is default enabled. In the future mapi configuration will have an extra flag (--enable-debug), thus a MAPI
      user might select if MAPI prints debug messages or no.
      
      
      git-svn-id: file:///home/svn/mapi/trunk@1292 8d5bb341-7cf1-0310-8cf6-ba355fef3186
      b27d4c0f
  4. 16 Jul, 2007 1 commit
  5. 15 Jul, 2007 1 commit
  6. 14 Jul, 2007 1 commit
  7. 29 Jun, 2007 1 commit
  8. 21 Apr, 2007 2 commits
  9. 20 Apr, 2007 1 commit
  10. 17 Apr, 2007 1 commit
  11. 29 Mar, 2007 1 commit
  12. 22 Mar, 2007 1 commit
  13. 17 Mar, 2007 1 commit
  14. 08 Mar, 2007 1 commit
  15. 02 Mar, 2007 1 commit
  16. 21 Dec, 2006 1 commit
  17. 16 Nov, 2006 1 commit
  18. 01 Nov, 2006 1 commit
  19. 30 Aug, 2006 1 commit
  20. 04 Aug, 2006 1 commit
  21. 25 Jul, 2006 1 commit
  22. 20 Jul, 2006 2 commits
  23. 21 Jun, 2006 1 commit
  24. 02 Jun, 2006 1 commit
  25. 31 May, 2006 3 commits
  26. 29 May, 2006 1 commit
  27. 25 May, 2006 1 commit
  28. 19 May, 2006 2 commits
  29. 05 May, 2006 1 commit
  30. 31 Mar, 2006 1 commit
    • 's avatar
      · f802bc52
      authored
      CvR:
      + Fixed misleading indent.
      + Declared some variables static.
      
      
      
      git-svn-id: file:///home/svn/mapi/trunk@429 8d5bb341-7cf1-0310-8cf6-ba355fef3186
      f802bc52
  31. 02 Mar, 2006 1 commit
  32. 11 Jan, 2006 1 commit
  33. 22 Nov, 2005 1 commit
  34. 10 Nov, 2005 1 commit
  35. 25 Oct, 2005 1 commit