Jump to content

LOGDAEM.EXE: Difference between revisions

From EDM2
Ak120 (talk | contribs)
mNo edit summary
Ak120 (talk | contribs)
mNo edit summary
 
Line 1: Line 1:
This executable is the daemon process for the system error logging.
The Error Logging Process for the system error logging facility.
note: You must have also installed the [[LOG.SYS]] driver
 
;Note: You must have also installed the [[LOG.SYS]] device driver.
  RUN=\OS2\LOGDAEM.EXE <parameter>
  RUN=\OS2\LOGDAEM.EXE <parameter>


Line 15: Line 16:
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:  
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
  RUN=C:\OS2\LOGDAEM.EXE /E:C:\OS2\LOG\ERROR.LOG /W:48
{|class="wikitable"
|+Platform Support:
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
|-
|Yes
|Yes
|Yes
|Yes
|}


[[Category:RUN Statements]]
[[Category:RUN Statements]]

Latest revision as of 17:59, 9 October 2020

The Error Logging Process for the system error logging facility.

Note
You must have also installed the LOG.SYS device 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