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

View log editor
Specify the editor that is used for display log file
Default log file name(strftime format)
Specify default log file name. It can include a format of strftime.
SYNOPSIS:
&h      Host name(or empty when not connecting)
&p      TCP port number(or empty when not connecting, not TCP connection)
&u      Logon user name
%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
Default log save folder

標準のログ保存先を指定します。

指定がない場合は、teraterm.ini の [Tera Term] セクション FileDir で指定された 環境変数を展開されたのフォルダを使用します。 (文字列に環境変数が含まれていると展開されます)

設定されていない場合は、OSのダウンロードフォルダが使用します。

使用できない場合は、ttermpro.exeのフォルダが使用します。

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.