Skip to content
Eduard Grasa edited this page Jun 9, 2021 · 12 revisions

Logging system

User space Daemons

The log files of user space daemons are located at the path specified in the main IPCM configuration file, within the "localConfiguration" section.

"localConfiguration" : {
    "installationPath" : "//bin",
    "libraryPath" : "//lib",
    "logPath" : "//var/log",
    "consoleSocket" : "//var/run/ipcm-console.sock",
    "system-name" : "tor1",
    "pluginsPaths" : ["//lib/rinad/ipcp"]
  },

For each IPC Process Daemon there will be a log file called (process name)-(process instance).log (for example test1.IRATI.DIF-1.log). The IPC Manager Daemon logs are stored in the log file called ipcm.log.

The default logging level is "INFO", but this level can be changed via the "-l" flag when launching the IPC Manager Daemon. For instance:

ipcm -c /etc/ipcm.conf -l DEBUG

Kernel components

The kernel components log their output to the system log (accessible in /var/log/messages or /var/log/syslog).

Specific situations

Loading the kernel modules

Upon successful loading of the IRATI kernel modules, you should see the following logs by inspecting /var/log/syslog.

Jun  9 10:40:39 tor2 kernel: [ 4203.948011] rina_irati_core: loading out-of-tree module taints kernel.
Jun  9 10:40:39 tor2 kernel: [ 4203.948256] rina_irati_core: module verification failed: signature and/or required key missing - tainting kernel
Jun  9 10:40:39 tor2 kernel: [ 4203.959465] rina-pidm(INFO): Instance initialized successfully (2047 port-ids)
Jun  9 10:40:39 tor2 kernel: [ 4203.959515] rina-core(INFO): IRATI RINA implementation v1.4.1 initialized
Jun  9 10:40:39 tor2 kernel: [ 4203.959516] rina-core(INFO): Don't panic ...
Jun  9 10:40:39 tor2 kernel: [ 4203.961024] rina-ps-factory(INFO): policy-set 'default' published successfully
Jun  9 10:40:39 tor2 kernel: [ 4203.961025] rina-rina-default-plugin(INFO): RMT default policy set loaded successfully
Jun  9 10:40:39 tor2 kernel: [ 4203.961026] rina-ps-factory(INFO): policy-set 'default' published successfully
Jun  9 10:40:39 tor2 kernel: [ 4203.961026] rina-rina-default-plugin(INFO): DTP default policy set loaded successfully
Jun  9 10:40:39 tor2 kernel: [ 4203.961027] rina-ps-factory(INFO): policy-set 'default' published successfully
Jun  9 10:40:39 tor2 kernel: [ 4203.961027] rina-rina-default-plugin(INFO): DTCP default policy set loaded successfully
Jun  9 10:40:39 tor2 kernel: [ 4203.961028] rina-ps-factory(INFO): policy-set 'default' published successfully
Jun  9 10:40:39 tor2 kernel: [ 4203.961029] rina-rina-default-plugin(INFO): Delimiting default policy set loaded successfully
Jun  9 10:40:39 tor2 kernel: [ 4203.961029] rina-ps-factory(INFO): policy-set 'default' published successfully
Jun  9 10:40:39 tor2 kernel: [ 4203.961030] rina-rina-default-plugin(INFO): PFF default policy set loaded successfully
Jun  9 10:40:39 tor2 kernel: [ 4203.961030] rina-ps-factory(INFO): policy-set 'default' published successfully
Jun  9 10:40:39 tor2 kernel: [ 4203.961031] rina-rina-default-plugin(INFO): SDU Protection default Crypto policy set loaded successfully
Jun  9 10:40:39 tor2 kernel: [ 4203.961031] rina-ps-factory(INFO): policy-set 'CRC32' published successfully
Jun  9 10:40:39 tor2 kernel: [ 4203.961032] rina-rina-default-plugin(INFO): SDU Protection default error check policy set loaded successfully
Jun  9 10:40:39 tor2 kernel: [ 4203.961032] rina-ps-factory(INFO): policy-set 'default' published successfully
Jun  9 10:40:39 tor2 kernel: [ 4203.961033] rina-rina-default-plugin(INFO): SDU Protection default TTL policy set loaded successfully
Jun  9 10:40:39 tor2 kernel: [ 4203.962811] rina-ipcp-factories(INFO): Factory 'normal-ipc' registered successfully
Jun  9 10:40:39 tor2 kernel: [ 4203.964800] rina-arp826-tables(INFO): ARP826 tables initialized successfully
Jun  9 10:40:39 tor2 kernel: [ 4203.964838] rina-arp826-arm(INFO): ARM initialized successfully
Jun  9 10:40:39 tor2 kernel: [ 4203.964839] rina-arp826-core(INFO): ARP826 Initialized successfully
Jun  9 10:40:39 tor2 kernel: [ 4203.966042] rina-shim-eth-vlan(INFO): shim-eth-vlan initialized
Jun  9 10:40:39 tor2 kernel: [ 4203.966043] rina-ipcp-factories(INFO): Factory 'shim-eth-vlan' registered successfully
Jun  9 10:40:39 tor2 kernel: [ 4203.966046] rina-shim-eth-vlan(INFO): Shim Wifi AP/STA initialized
Jun  9 10:40:39 tor2 kernel: [ 4203.966046] rina-ipcp-factories(INFO): Factory 'shim-wifi-ap' registered successfully
Jun  9 10:40:39 tor2 kernel: [ 4203.966048] rina-shim-eth-vlan(INFO): Shim Wifi AP/STA initialized
Jun  9 10:40:39 tor2 kernel: [ 4203.966049] rina-ipcp-factories(INFO): Factory 'shim-wifi-sta' registered successfully
Jun  9 10:40:39 tor2 kernel: [ 4203.967619] rina-shim-tcp-udp(INFO): shim-tcp-udp initialized
Jun  9 10:40:39 tor2 kernel: [ 4203.967620] rina-ipcp-factories(INFO): Factory 'shim-tcp-udp' registered successfully