44.23 /log

Specifies the directory where the MTA will store its log files. The default location varies by platform.

NetWare:

mslocal subdirectory in the directory specified by the /work switch

Linux:

/var/log/novell/groupwise/domain_name.mta

Windows:

mslocal subdirectory in the directory specified by the /work switch

For more information, see Section 42.3, Using MTA Log Files.

NetWare MTA

Linux MTA

Windows MTA

Syntax:

  • /log-[svr\][vol:]\dir
  • /log-\\svr\vol\dir
  • --log /dir
  • /log-[drive:]\dir
  • /log-\\svr\sharename\dir

Example:

  • /log-\agt\log
  • /log-server2\mail:\agt\log
  • /log-\\server2\mail\agt\log
  • --log /gwsystem/logs
  • /log-\agt\log
  • /log-m:\agt\log
  • /log-\\server2\c\mail\agt\log

Typically you would find multiple log files in the specified directory. The first 4 characters represent the date. The next 3 characters identify the agent. A three-digit extension allows for multiple log files created on the same day. For example, a log file named 0518mta.001 would indicate that it is an MTA log file, created on May 18. If you restarted the MTA on the same day, a new log file would be started, named 0518mta.002.

See also /loglevel, /logdiskoff, /logdays, and /logmax.