Reset logs from command line, how?
-
Hi,
what is the command to reset the log from the command line, for the DNS Resolver or commands for all if not only DNS Resolver is possible.
clear_all_log_files ( true )
is the pfSsh.php command but i am not able to get this as a oneline working like this:
pfSsh.php clear_all_log_files ( true ) ; exec ;thanks
-
you can create a new macro an execute that from commandline
https://doc.pfsense.org/index.php/Using_the_PHP_pfSense_Shell#Recording_and_Playback