WOLFRAM

How can I enable logging with MathLM?

Read this article in: Deutsch, Español, Français, 日本語, 한국어, Português, 中文


MathLM logs its activity if launched with the “-logfile” flag.

To begin collecting log messages in the file filename, start MathLM from the command line using:

mathlm -logfile filename

Note that you need to have write permissions to the specified file’s directory. The log file will contain messages of the following form:

hostname.domain.com - username [11/Dec/2023:22:01:01] "MathLM 14.0.0 executable launched" "mathlm" -
hostname.domain.com - username [11/Dec/2023:22:01:01] "Verbosity level specified" "1" -
hostname.domain.com - username [11/Dec/2023:22:01:01] "Logging verbosity level specified" "3" -

Online help is available at
http://reference.wolfram.com/network

hostname.domain.com - username [11/Dec/2023:22:01:01] "Binding IPv6 socket" "Success. Socket 16287 taken." -
hostname.domain.com - username [11/Dec/2023:22:01:01] "Binding IPv4 socket" "Success. Socket 16286 taken." -
hostname.domain.com - username [11/Dec/2023:22:01:01] "Hostname" "hostname.domain.com" -

These messages are comprised of the host name, username, a timestamp and the specific message.

The “-loglevel n” flag allows adjusting the level of verbosity from its default value of 3 to any number between 1 (least verbose) and 4 (most verbose). The types of messages logged at each verbosity level are described in detail here.

If necessary, you can customize the log messages’ format.

Is this article helpful?
Yes
No

Any comments?

Thank you for your feedback.

Submit

Contact Support

Whether you have a question about billing, activation or something more technical, we are ready to help you.

1-800-WOLFRAM (+1-217-398-0700 for international callers)

Customer Support

Monday–Friday
8am–5pm US Central Time

  • Product registration or activation
  • Pre-sales information and ordering
  • Help with installation and first launch

Advanced Technical Support (for eligible customers)

Monday–Thursday
8am–5pm US Central Time

Friday
8:30–10am & 11am–5pm US Central Time

  • Priority technical support
  • Product assistance from Wolfram experts
  • Help with Wolfram Language programming
  • Advanced installation support