Description

This article provides information on how to collect error log files in Junos Space for troubleshooting purposes.

Solution

Collecting Junos Space Error Logs

You can collect Junos Space error logs using the Web UI or CLI.

Web UI

  1. Junos Space Network Management Platform user interface, select Administration > Space Troubleshooting  (Not Log Configuration)
  2. Click Download  (A "Zip Troubleshoot Logs" Job will be created), Select the Job number in the popup to monitor the status, or press ok
  3. Once the "Zip Troubleshoot Logs" job is complete:
    1. Open the job details (if you have not already) by double-click the job
    2. select Download to download the logs to your computer.

Command-Line Interface (CLI) 


Note: The troubleshooting log file is stored at the following location on the Junos Space node that completes the job: /var/cache/jboss/space-logs. 


 

 

To change the default logging level from WARN to DEBUG, see "Changing the Logging Level," below.

Changing the Logging Level

Only if Requested by JTAC

Note:
Please capture Junos Space troubleshooting logs prior to enabling the DEBUG logging level. That way you will not inadvertently purge data that might be needed for JTAC analysis. (Logs rollover quickly when debug is enabled)
  1. Follow the path:   Network Application Platform > Administration > Space Troubleshooting > Log Configuration
  2. This will take you to JBoss Logs section. 
  3. Select the file for which you wish to change the logging level and choose the Log Level from the drop-down: (As directed by JTAC, most commonly server.log)
    alt
  4. In case you wish to change the logging level for OpenNMS, navigate to "OpenNMS Logs" tab.
           ​​​​​
         
        5. Click on Save and Update. No service needs to be restarted after this change.    

Modification History

2020-04-09: Added a section for opennms logging change with screenshot.
2024-04-09: Updated WebUI instructions, removed link to old documentation, removed CLI logging mode adjustment

Related Information