YSoft SafeQ FlexiSpooler Logs
General Info
Using Nlog.config user can configure respective output logs. Mainly used for changing of log level to trace. For more info see Configuring logging using Nlog.config.
Table below shows default values.
Configuration Path | Output Log Path | Data Pattern after size overflow (archiveNumbering) | Max File Size (archiveAboveSize) | Max Number Of Archived Files (maxArchiveFiles) | Compression | Concurrent writes (concurrentWrites) | Logging Type |
<SAFEQ6_HOME>\FSP \Service\NLog.config | <SAFEQ6_HOME>\FSP\logs\spooler.log | Date and Sequence | ~21MB | 30 | no | false | Nlog |
<SAFEQ6_HOME>\FSP \Service\<Spooler 6.0.X.Y>\DesktopInterface\NLog.config | <USER_PROFILE>\.safeq6\logs\desktopinterface.log | Date and Sequence | ~21MB | 30 | no | false | Nlog |
<SAFEQ6_HOME>\FSP \Service\<Spooler 6.0.X.Y>\NLog.config | <SAFEQ6_HOME>\FSP\logs\spooler.log | Date and Sequence | ~21MB | 30 | no | false | Nlog |
YSoft Universal Print Driver log (if the driver is used): | |||||||
<SAFEQ6_HOME>\FSP \universal-pcl-driver\gui\NLog.config | <SAFEQ6_HOME>\FSP\universal-pcl-driver\gui\driver.log | Date | ~21MB | unlimited | no | false | Nlog |
Please take note, that Desktop Interface log is created per user and located in the user profile directory for each user.
Log Retention (useful information for GDPR)
Logs mentioned in previous section use NLog configuration, based on these settings the log creation/retention is handled as follows:
Log is archived (moved to separate file with timestamp and usually a sequence number) when either [1] the "archiveAboveSize" has been reached or [2] a new day has arrived
Each log file keeps N archived versions, where N is the number set in "maxArchiveFiles"
After the limit set in "maxArchiveFiles" is reached and new log file should be archived, the oldest one gets deleted
If you put all this information together: If the component is continuously running (or executed at least once a day), then the logged data will get deleted after "maxArchiveFiles" days at the latest.
Log Format
Log Name | Column 1 | Column 2 | Column 3 | Column 4 | Column 5 | Column 6 |
desktopinterface.log | yyyy-MM-dd HH:mm:ss.ffff | Logging priority (Debug) (fixed width 5) | thread ID (width 2) | ActivityID | class name, method name and source information (f-w 70) | message/exception on new line |
spooler.log | yyyy-MM-dd HH:mm:ss.ffff | Logging priority (Debug) (fixed width 5) | thread ID (width 2) | ActivityID | class name, method name and source information (f-w 70) | message/exception on new line |
driver.log | yyyy-MM-dd HH:mm:ss.ffff | Logging priority (Debug) (fixed width 5) | thread ID (width 2) | class name, method name and source information (f-w 70) | message/exception on new line |
Example
spooler.log | |||||
yyyy-MM-dd HH:mm:ss.ffff | Logging priority | thread ID | ActivityID | class name, method name and source information | message/exception on new line |
2016-05-06 18:35:49.3411 | ERROR | 11 | b685534d-2d45-46e6-b810-f2e06ed92f06 | | Ymq.Peer+<TryRequest>d__29.MoveNext | | [1dc792ca-49fe-4b98-9d31-ebad5a54d615-DesktopInterface] No established session found. |
2016-05-06 18:35:49.3411 | WARN | 11 | a88e412e-1811-4b75-be8a-df683692f720 | | RemoteProxies.UiProxy+<SwitchClientUiController>d__9.MoveNext | | Could not request reconnection of Desktop Interface to different Controller. |
2016-05-06 18:35:49.5442 | INFO | 12 | b685534d-2d45-46e6-b810-f2e06ed92f06 | | Ymq.ServerSession.ProcessReady | | [1dc792ca-49fe-4b98-9d31-ebad5a54d615- DesktopInterface ] Successfully established a server session with a type [Client] client. ConnectionLostTimeout set to [4] seconds based on client's ping interval. |
2016-05-06 18:40:48.6198 | DEBUG | 11 | b685534d-2d45-46e6-b810-f2e06ed92f06 | | Configuration.ConfigurationProvider+<UpdateConfiguration>d__28.MoveNex | | Downloading remote configuration to verify it's relevance. |
desktopinterface.log | |||||
yyyy-MM-dd HH:mm:ss.ffff | Logging priority (Debug) (fixed width 5) | thread ID (width 2) | ActivityID | class name, method name and source information (f-w 70) | message/exception on new line |
2016-05-25 14:44:14.8737 | INFO | 7 | b685534d-2d45-46e6-b810-f2e06ed92f06 | | Ymq.Client+<TryConnect>d__10.MoveNext | | Trying to connect to [ tcp://10.0.13.76:5555 ]. |
2016-05-25 14:44:15.5774 | INFO | 8 | b685534d-2d45-46e6-b810-f2e06ed92f06 | | Ymq.Client+<TryConnect>d__10.MoveNext | | Successfully connected to [ tcp://10.0.13.76:5555 ]. |
2016-05-25 14:44:15.5774 | INFO | 8 | a88e412e-1811-4b75-be8a-df683692f720 | | DeviceInterfacei.ControllerProxy+<Connect>d__4.MoveNext | | Connected to Controller [ tcp://10.0.13.76:5555 ]. |