LOGDAEM.EXE: Difference between revisions
Appearance
mNo edit summary |
mNo edit summary |
||
Line 3: | Line 3: | ||
RUN=\OS2\LOGDAEM.EXE <parameter> | RUN=\OS2\LOGDAEM.EXE <parameter> | ||
==Parameters== | |||
* /E:filename | * /E:filename | ||
This is the file in which the log messages are stored and must be a fully qualified filename. | :This is the file in which the log messages are stored and must be a fully qualified filename. | ||
''' | :'''Note:''' Like the OS/2 INI files, this file is "locked" and you will not be able to access it with the OS/2 System Editor. You will get a "violation error". The Enhanced Editor will open the file. | ||
* /W:value | * /W:value | ||
Sets up the size of the error log file. | :Sets up the size of the error log file. Value can be in the range from 4 Kbytes to 64 Kbytes. Default = 64 Kbytes | ||
Value can be in the range from 4 Kbytes to 64 Kbytes. | |||
Default = 64 Kbytes | |||
;Note:You can also change the parameters with the SYSLOG program. Use [[SYSLOG.EXE]] from an OS/2 command line prompt to view your log file. | |||
==Example== | |||
To use C:\OS2\LOG\ERROR.LOG as the error log file with a size of 48 Kbytes, add this line to the CONFIG.SYS: | |||
RUN=C:\OS2\LOGDAEM.EXE /E:C:\OS2\LOG\ERROR.LOG /W:48 | |||
{|class="wikitable" | {|class="wikitable" |
Revision as of 15:24, 14 November 2018
This executable is the daemon process for the system error logging. note: You must have also installed the LOG.SYS driver
RUN=\OS2\LOGDAEM.EXE <parameter>
Parameters
- /E:filename
- This is the file in which the log messages are stored and must be a fully qualified filename.
- Note: Like the OS/2 INI files, this file is "locked" and you will not be able to access it with the OS/2 System Editor. You will get a "violation error". The Enhanced Editor will open the file.
- /W:value
- Sets up the size of the error log file. Value can be in the range from 4 Kbytes to 64 Kbytes. Default = 64 Kbytes
- Note
- You can also change the parameters with the SYSLOG program. Use SYSLOG.EXE from an OS/2 command line prompt to view your log file.
Example
To use C:\OS2\LOG\ERROR.LOG as the error log file with a size of 48 Kbytes, add this line to the CONFIG.SYS:
RUN=C:\OS2\LOGDAEM.EXE /E:C:\OS2\LOG\ERROR.LOG /W:48
OS/2 2.x | OS/2 3.0 | OS/2 4.0 | OS/2 4.5x |
---|---|---|---|
Yes | Yes | Yes | Yes |