Additional settings / "Log" Tab ([Setup] Menu)

View log editor
exe file
Specify program that is used for display log file.
When program is relative path, program is searched from folder in ttermpro.exe and in PATH environment variable.
If blank, program associated with file extension is used.
args
Specify program args.
Default log file name
Specify default log file name.
It can include Tera Term's original format and strftime similar format.
SYNOPSIS of Tera Term original format:
&h      Host name(or empty when not connecting)
&p      TCP port number(or empty when not connecting, not TCP connection)
&u      Windows logon username

SYNOPSIS of strftime similar format:
%a      Abbreviated weekday name
%A      Full weekday name
%b      Abbreviated month name
%B      Full month name
%c      Date and time representation appropriate for locale
%d      Day of month as decimal number (01 - 31)
%H      Hour in 24-hour format (00 - 23)
%I      Hour in 12-hour format (01 - 12)
%j      Day of year as decimal number (001 - 366)
%m      Month as decimal number (01 - 12)
%M      Minute as decimal number (00 -  59)
%p      Current locale's A.M./P.M. indicator for 12-hour clock
%S      Second as decimal number (00 - 59)
%U      Week of year as decimal number, with Sunday as first day of week (00 - 53)
%w      Weekday as decimal number (0 - 6; Sunday is 0)
%W      Week of year as decimal number, with Monday as first day of week (00 - 53)
%x      Date representation for current locale
%X      Time representation for current locale
%y      Year without century, as decimal number (00 - 99)
%Y      Year with century, as decimal number
%z, %Z  Either the time-zone name or time zone abbreviation, depending on registry settings;
	no characters if time zone is unknown
%%      Percent sign
When log file name is not a full path
Tera Term scans value following order. If a value found, file name is understood as a relative path from that folder.
Default log save folder
Specify default Terminal log save folder.
Refer to Terminal log folder for information where terminal logs are stored.
The current folder can be check in Setup Directory.
Auto start logging
Start logging automatically when connecting. Default Log File Name is used for log file name.
When the /nolog command line is specified, this feature is always disabled.
Log Rotate
The log rotation is enabled. The extension of the rotated file is added .1, .2, .3 etc.
Size
The log file is rotated when it grows bigger than Size bytes. If the size is followed by KB, the size is assumed to be in kilobytes. If the MB is used, the size is in megabytes.
Rotate
The log file is rotated Rotate times before being removed. If the Rotate is 0, the old version is not removed rather than rotated.
Log option
Specify the log type.
Binary
If you select this option, received characters are written without any modifications. Otherwise, new-line codes are converted and escape sequences are stripped out.
Append
If you select this option and the specified log file already exists, received characters are appended to the file. Otherwise, the file is overwritten.
Plain text
If you select this option, ASCII non-printable characters are not written.
NOTE: When the Binary option is enabled, this option can not be checked and the value will be disabled.
Hide dialog
If you select this option, "Log" dialog box is not displayed.
Include screen buffer
If you select this option, the logging starts after current all buffer is written into a log file.
Timestamp
If you select this option, a timestamp is added on top of each log line. The timestamp is added when the first character of the line appears.
The timestamp type can be selected from following.
Local Time
Record the time in local time.
UTC
Record the time in UTC.
Elapsed Time (Logging)
Record the elapsed time from the start of logging.
Elapsed Time (Connection)
Record the elapsed time from the start of connection.
The timestamp format is specified with LogTimestampFormat when the timestamp type is "Local Time" and "UTC".
The LogTimestampFormat is ignored when the timestamp type is "Elapsed Time (Logging)" or "Elapsed Time (Connection)".
NOTE: When the Binary option is enabled, this option can not be checked and the value will be disabled.