Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GetDeviceLog returns incomplete log #119

Open
dhellmich1 opened this issue Aug 8, 2021 · 5 comments
Open

GetDeviceLog returns incomplete log #119

dhellmich1 opened this issue Aug 8, 2021 · 5 comments

Comments

@dhellmich1
Copy link

Hello,

maybe this is more a question than an issue. I have a FB7590 (7,27), a Repeater 1750E (7.27) and a Powerline Adapters 1220E/1260E (7.21). Within the last weeks after update to 7.27 the FB7590 sometimes reboots and with the reboot the event log is lost. I already started the Powerline optimization again after updating to 7.27 but reboots still remain. Therefore i decided to collect the log on my RASPI and found this excellent module!

When the logs are retrieved by GetDeviceLog the result is incomplete compared to the ui within FritzBox.

fc = FritzConnection(address='192.168.178.1', user='xxx', password='yyy')
logs = fc.call_action('DeviceInfo:1', 'GetDeviceLog');
currentlog = logs['NewDeviceLog'];

I exported the Log (All) of the Fritzbox and marked the entries thar are also returned by GetDeviceLog in green.
Fritzbox Logging - Analyse (as PDF).pdf

Thanks in advance!
Bye Dirk

@joelthill
Copy link

Hi Dirk,

Just saw your issue - I'm suffering from the same symptoms - random lines omitted from the logs.
Do you have had any news or made progress on your own in the meantime?

cheers
Joel

@photis
Copy link

photis commented May 6, 2023

I realise I'm a bit late in the game, but I'd like to add my voice to the above. My impression though is that the log entries that are returned by this function are just the WLAN entries (same as selected through the FRitzbox UI). Is this possible?

@hschmidt-dev
Copy link

Hi,
I'm also facing this problem. I've now realized that the logs that I get from
fc.call_action('DeviceInfo:1', 'GetDeviceLog');
are the same as in the FritzBox web interface when I set the filter to "Internet".
So it would be great if the GetDeviceLog method would return "all" logs instead of only "Internet" logs.

@mib1185
Copy link
Contributor

mib1185 commented Jul 10, 2023

This is nothing which could by changed by this project, because the data returned of "DeviceInfo1->GetInfo" and "DeviceInfo1->GetDeviceLog" are generated and returned by the device itself.
But feel free to report this to AVM, that these apis do not return the whole log, but only limited to the "Internet" logs

@kbr
Copy link
Owner

kbr commented Jul 10, 2023

I've just checked the AVM documentation (and also the interactive API with FritzOS version 7.56) about these service-calls and @mib1185 is right: there are no options to apply any filter for the provided data. They are returned "as is" and this seems to be the "internet" log subset. No idea why AVM handles it this way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants