Written September 2025
xcall MIAMEX, MX_LOGDIR, opcode, dirspec
MX_logdir (207) provides a means to relocate the ashlog.log file directory.
Parameters
opcode (Num) [in]
0 for get, 1 for set
dirspec (String) [in/out]
ashlog.log location
Although it is probably uncommon to change the ashlog location during a session, it comes in handy during debugging on a system with many users, in conjunction with verbose traces like XCALL and FUNCS. Rather than fill the common ashlog.log file with your traces, you can relocate the ashlog location for just your session to a local directory (or '.' for your current directory). You can then use the VIEWASHLOG/LOCAL switch to view the traces in your local copy of the ashlog.
The ashlog.log file directory can also be changed via the LOGDIRSP directive and the system command SET LOGDIR.
History
2025 August, A-Shell 7.0.1778: MX_logdir and SET LOGDIR added to A-Shell.