This comes from Dev’s work on ToW. We just adopted all his stuff so don’t ask me how it all works 😄
This is from our freelancer.ini
[Error]
;EMAURER these four should remain as set.
;log = fl-client-errors.log, 65540 ; alert all asserts
log = fl-client-errors.log, -1 ; alert all errors (SEV_ERROR=1)
;EMAURER comment out lines below to vary the amount of output spew.
log = $Text, 65536, 5 ; 65536 means 'don't care' about kind value.
; 5 refers to TRACE_LEVEL_5\. means report all messages
; with severity of 5 or less. lower the number, more severe
; the message. WARNINGS are at level 2\. reduce for less spew.
;log = $Text, 'I' ; incoming packet transmission
;log = $Text, 'O' ; outgoing packet transmission
;log = $Text, 'i' ; instance creation related messages (mass, MOI, equip)
;log = $Text, 'r' ; significant attitude/reputation events (show results of AdjustAttitude calls)
;log = $Text, 'a' ; detailed info regarding loading/unloading of archetypes.
log = $Text, 'c' ; report server-side events sent to contollers
log = $Text, 'm' ; mission-generated messages
log = $Text, 's' ; log second thread activity
;log = $Text, 'f' ; report file opens/closes
;log = $Text, 'e' ; explosion/fuse messages
log = $Text, 'd' ; damage messages
log = $Text, 'A' ; reload console command messages
;----------------------------
; Error explanation
;
; log = where to display log message, kind of msg, severity of msg
; where: [no default]
; $window = popup dialog
; $text = debugger window
; filename = any filename
; kind: [default = -1]
; -1 // all kinds, distinguish display based on severity.
; ERR_RENDER ='R', // Render Pipeline
; ERR_NETWORK ='n', // SERVER.DLL
; ERR_WARN ='w', // minor general problems
; ERR_SPINST ='i', // instance creation messages
; ERR_REP ='r', // log significant attitude/reputation events
; ERR_ARCH ='a', // log unloads of archetypes.
; ERR_CTRL ='c', // log server-side events sent to contollers
; ERR_MISN ='m', // mission-generated messages
; ERR_ASYNC ='s', // log second thread activity
; ERR_FILEIO ='f', // print File open/close
; ERR_ASSERT = 65540 // asserts
; severity: [ default = all severities ]
; the lower the number the more severe
; SEV_FATAL = 0 // Unrecoverable errors
; SEV_ERROR = 1 // Recoverable errors
; SEV_WARNING = 2 // Conditions which may indicate a problem, but are handled
; SEV_NOTICE = 3 // Useful messages that are in release builds.
; SEV_TRACE_1 = 4 // Information useful for debugging or determining program flow
; SEV_TRACE_2..n = 5..n // Higher traces levels indicate more verbose information