Hide Logfile in FHEMWEB instanz

Begonnen von olivierbardot, 27 März 2023, 21:05:04

Vorheriges Thema - Nächstes Thema

olivierbardot

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
Raspis EnOcean TrXCom Linky 1W Telegram Motion EgiGeozone OpenDTU HiveMQ

rudolfkoenig

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

olivierbardot

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
Raspis EnOcean TrXCom Linky 1W Telegram Motion EgiGeozone OpenDTU HiveMQ