OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • view log file if "Disable writing log files to the local disk" is activated
« previous next »
  • Print
Pages: [1]

Author Topic: view log file if "Disable writing log files to the local disk" is activated  (Read 4242 times)

bobbis

  • Full Member
  • ***
  • Posts: 102
  • Karma: 5
    • View Profile
view log file if "Disable writing log files to the local disk" is activated
« on: November 25, 2017, 01:00:47 pm »
How can i view the a log file if "Disable writing log files to the local disk" is activated?

Almost what i see is: File /var/log/filter.log yielded no results. ...in the webinterface.

Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17707
  • Karma: 1618
    • View Profile
Re: view log file if "Disable writing log files to the local disk" is activated
« Reply #1 on: November 26, 2017, 11:40:37 am »
If you use this option and export the logs remotely you can view them wherever you export them to, if not you can’t view the log because you disabled it.  ;)


Cheers,
Franco
Logged

bobbis

  • Full Member
  • ***
  • Posts: 102
  • Karma: 5
    • View Profile
Re: view log file if "Disable writing log files to the local disk" is activated
« Reply #2 on: November 26, 2017, 11:22:39 pm »
Hi Franco,

thanks for your reply, i tough logging where also possible to "ramdisk" if you have it activated "use memory file system for /tmp or /var" in the webinterface.

An idea to add this feature :)
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17707
  • Karma: 1618
    • View Profile
Re: view log file if "Disable writing log files to the local disk" is activated
« Reply #3 on: November 27, 2017, 07:37:14 am »
Hi bobbis,

If you keep logging on, and enable /var RAM-disk that makes logs readable from RAM-disk until reboot. I think that should work for you. :)


Cheers,
Franco
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • view log file if "Disable writing log files to the local disk" is activated
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2