Jump to content

LOGDAEM.EXE: Difference between revisions

From EDM2
Ak120 (talk | contribs)
mNo edit summary
Ak120 (talk | contribs)
mNo edit summary
 
(One intermediate revision by the same user not shown)
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>


'''Parameters:'''
==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 your standard text editor or the OS/2 System Editor. You will get a "violation error". The Enhanced Editor will open the file.  
:'''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.
 
See the example below.
 
To use C:\OS2\LOG\ERROR.LOG as the error log file with a size of 48 Kbytes, add this line to your config.sys file:
RUN=C:\OS2\LOGDAEM.EXE /E:C:\OS2\LOG\ERROR.LOG /W:48


'''NOTE:''' Use SYSLOG.EXE from an OS/2 command line prompt to view your log file.
;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.


{|class="wikitable"
==Example==
|+Platform Support:
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:
!OS/2 2.x
RUN=C:\OS2\LOGDAEM.EXE /E:C:\OS2\LOG\ERROR.LOG /W:48
!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