Managing the Log Files and Core Files
Viewing and Managing Centralized Log Files
On a disaggregated Junos OS platform, a centralized logging server collects all system logs for all computing entities in the disaggregated Junos OS. Centralized logging simplifies device management by allowing users to view all log files for all disaggregation Junos entities in a single place.
Syslog feature configuration is not supported on JDM.
This topic describes:
Enabling Centralized Logging
You can enable centralized logging on vSRX to view the log files on JDM.
Viewing Log Messages
To view system log messages logged by VNFs and the system generated logs on JDM, use the command:
user@jdm> show log syslog
To view other log messages, use the command:
user@jdm> show log <filename>
You cannot view JCP log files on JDM.
A log rotation process runs every 5 minutes. If the log file size is greater than 5 MB, then the log files get rotated. The log files are saved in the /var/log directory.
Managing Core Files
This topic discusses how to view core files for a disaggregated Junos OS platform.
It contains the following sections:
Viewing Core Files
To view all core files from the JDM CLI, enter the show system core-dumps command:
/var/tmp/*core* : drwxr-xr-x 2 root root 4096 Jan 17 19:01 corefiles /var/crash/*core* : -rw-r--r-- 1 root root 382853 Jan 1 00:54 jdm.jdmd.4899.1420073655.core.tgz -rw-r--r-- 1 root root 372095 Jan 1 01:11 jdm.jdmd.5697.1420074677.core.tgz -rw-r--r-- 1 root root 3141405 Jan 17 19:01 jdm.jdmd.6875.1421521308.core.tgz -rw-r--r-- 1 root root 18440 Jan 17 14:24 jdm.test.19278.1421504682.core.tgz
To view all core files displayed in JDM, open the core files using Unix commands. The core files are stored in the /var/tmp/corefiles/ directory on Hypervisor.