Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Announcement: Try the Ask AI chatbot for answers to your technical questions about Juniper products and solutions.

close
header-navigation
keyboard_arrow_up
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

Viewing VFP Log Files

date_range 19-Nov-20

The VFP saves the following files:

  • VFP log files are saved in the /var/log directory.

  • VFP crash files are automatically saved in the VCP /var/crash directory.

To view the VFP log or crash files:

  1. Log in to the VFP console by using the ./vmx.sh --console vfp vmx-id command, where vmx-id is the vMX identifier specified in the startup configuration file.
  2. Navigate to the appropriate directory to determine whether there are any files to view.
    content_copy zoom_out_map
    # cd /var/crash
    # ls -l
    
    content_copy zoom_out_map
    -rwxr-xr-x 1 root root 864678 Jan  4 02:14 core.riot.1420366466.8271.gz
    
  3. (Optional) If necessary, unzip the file and view it using GDB.
    content_copy zoom_out_map
    # gunzip core.riot.1420366466.8271.gz
    # gdb /build/app core.riot.1420366466.8271
    

The VFP is configured for remote logging of the /var/log/messages directory. You can configure the VCP syslog facility to record the VFP log messages:

content_copy zoom_out_map
user@vmx# set system syslog file messages any any
user@vmx# set system syslog server routing-instances all
user@vmx# set services app-engine monitor-cpu 50 100
user@vmx# commit
footer-navigation