Bug 12923 - Add a WebIF option for logs originated from Dehydrated
Summary: Add a WebIF option for logs originated from Dehydrated
Status: CLOSED CANTFIX
Alias: None
Product: IPFire
Classification: Unclassified
Component: --- (show other bugs)
Version: 2
Hardware: unspecified Unspecified
: - Unknown - Minor Usability
Assignee: Assigned to nobody - feel free to grab it and work on it
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-31 14:18 UTC by Michael
Modified: 2023-04-14 21:46 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.