Skip to content

Logging

skovzhaw edited this page Jul 1, 2016 · 13 revisions

Set up

Understanding what is happening with the micro services is very important and for that reason RCB Cyclops offers an advanced logging.

In order to enable logging for the whole framework you will need to run the following command

bash setup_logging.sh

Which will set up logging structure for UDR, RC (Rate and CDR) and Billing micro services. Log files are then stored in /var/log/cyclops/ folder.

If you are running the framework in a distributed manner, you can always set up logging just for that micro service separately. To do so just run bash install/setup_logging.sh in the micro service subfolder. A good example would be logging for your usage collector, as that is not included in the main setup_logging.sh script.

Structure

All logs are stored in /var/log/cyclops/ folder, with separate subfolders for individual micro services. Usually the structure follows this template:

  • errors.log - server failures
  • trace.log - server execution
  • timeseries.log - database persistence
  • rest.log - HTTP API queries
  • dispatch.log - published messages
  • data.log - ingested data frames
  • commands.log - executed commands
Clone this wiki locally