Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


clear log (JDM)



clear log file-name

Release Information

Command introduced in Junos OS Release 17.4R1.


Clear the system log or trace files.

Required Privilege Level


Related Documentation

List of Sample Output

clear log

Output Fields

This command produces no output.

Sample Output

clear log

user@jdm> clear log syslog