Appendix C - Workflow
About
This chapter describes how op5 LogServer is designed and how it transports received log data internally.
Workflow
Workflow of op5 LogServer:

C.1 Connector
•It’s a Daemon (op5-logserver-loader)
•Runs two times/minute
1 Read logs from spool directory (/var/log/oslogd/spool)
2 If they contain illegal char, move to Error (/var/log/oslogd/error) and stop.
3 Move logs to temporary archive (/var/log/oslogd/archive) and
4 Insert logs into database
C.2 Rotate
•It’s a cronjob
1 Runs every hour at xx.30 and put logs from the temporary archive to local and remote archives
2 Runs every hour, checks database and local archive for old logs and rotate (configured in settings menu)
3 Runs every day, checks remote archive for old logs and rotate (configured in settings menu)