FHEM Forum

FHEM => Frontends => FHEMWEB => Thema gestartet von: olivierbardot am 27 März 2023, 21:05:04

Titel: Hide Logfile in FHEMWEB instanz
Beitrag von: olivierbardot am 27 März 2023, 21:05:04
Hello everybody !

I apologize for such a trivial question

I have created a FHEMWEB instanz dedicaced to geolocalization webhooks.

The only thing I want to show in this instanz is the dummy updated by the webhooks.

I have removed all the others Rooms and fields I want to hide but I didn't success in hiding Logfile.

The result is that accessing this instanz make possible to access Logfile, which I don't want to be possible.

How can I hide Logfile ?

Thanks for your attention
Cheers
Olivier
Titel: Aw: Hide Logfile in FHEMWEB instanz
Beitrag von: rudolfkoenig am 28 März 2023, 09:58:55
Logfile is a "fake" entry in fhem.cfg to enable acess from FHEMWEB to the FHEM log.

There are mutliple ways to remove it:
- add Logfile to the hiddenroom FHEMWEB attribute
- delete the following line from fhem.cfg:
define Logfile FileLog ./log/fhem-%Y-%m.log Logfile
Titel: Aw: Hide Logfile in FHEMWEB instanz
Beitrag von: olivierbardot am 29 März 2023, 20:58:20
Good evening !

Thank u very much for this quick answer

It is strange that now hidden and forbidden rooms attributes work perfectly to customize fhemweb instances though a few days before today I tried to use them unsuccessfully !
???  ::)

Thank you again !
Have a nice evening