Bug 12923

Summary: Add a WebIF option for logs originated from Dehydrated
Product: IPFire Reporter: Michael <ip.fire>
Component: ---Assignee: Assigned to nobody - feel free to grab it and work on it <nobody>
Status: CLOSED CANTFIX QA Contact:
Severity: Minor Usability    
Priority: - Unknown - CC: adolf.belka, bbitsch, michael.tremer
Version: 2   
Hardware: unspecified   
OS: Unspecified   
See Also: https://bugzilla.ipfire.org/show_bug.cgi?id=12922

Description Michael 2022-08-31 14:18:33 UTC
After installing the package Dehydrated, there is no chance to see the logs within menu System Logs in WebIf.

Currently Deyhdrated writes to stdout and as far as I know, there is no possibility to get the output into /var/log/messages by default means.

Do you see any chance of getting the output into the WebIf?
Comment 1 Adolf Belka 2023-03-08 16:07:38 UTC
I have had a look through the dehydrated config file and the dehydrated script itself and there is nothing anywhere related to logging.

The only option that would be left would be to redirect all stout/stderr to /var/log/messages as part of the fcrontab command that would be used to run the script as required.
However, looking at the dehydrated script, that would not be structured in any way, ie would not have the date time hostname etc sections that other stuff does.

You could redirect all the stdout/stderr to another log file in /var so that the info is at least collected.

So I believe that the answer is that there is no easy way to get it available to be seen in the System Logs section of the WUI.
Comment 2 Adolf Belka 2023-04-14 21:46:40 UTC
As there is no logging available from dehydrated then the requested option can not be implemented.