ail-framework icon indicating copy to clipboard operation
ail-framework copied to clipboard

Log view on dashboard completely empty

Open certrik opened this issue 2 years ago • 4 comments

I don't know how to debug it or where I can have a look but it seems that the log view on the dashboard somehow is broken. It doesnt show anything but I already feeded one week of pastebin pastes into AIL 5.0. grafik

certrik avatar Jun 22 '23 13:06 certrik

Same here... I see that pasties are processed and stored in PASTIES/ but nothing else...

xme avatar Jun 22 '23 14:06 xme

I am in the same situation, so I did some research :)

The log file that is the source of the Log view dashboard is as follows. (Currently, Logs/Script_warn- is hard-coded, so I think that only the warn level is displayed on the dashboard) https://github.com/ail-project/ail-framework/blob/a0686eefcf005a4db17b19f498d0cfa9bcdbc18d/var/www/modules/dashboard/Flask_dashboard.py#L105-L122

Also, in the above warn log, only the logs that do not return False with the following functions are displayed on the dashboard.(Only if the log message split by semicolon and the split length is 6) https://github.com/ail-project/ail-framework/blob/a0686eefcf005a4db17b19f498d0cfa9bcdbc18d/var/www/modules/dashboard/Flask_dashboard.py#L72-L84

I think that current behavior is the logs corresponding to the above are displayed on the dashboard.

fukusuket avatar Jul 09 '23 12:07 fukusuket

If it matches the WARN log mentioned above, I can confirm that the log is displayed on the screen.(AIL v5.2) スクリーンショット 2023-07-14 2 39 21

fukusuket avatar Jul 13 '23 17:07 fukusuket

If it matches the WARN log mentioned above, I can confirm that the log is displayed on the screen.(AIL v5.2) スクリーンショット 2023-07-14 2 39 21

Can u send the OVA file for this machine?

KhaledEid020 avatar Oct 18 '23 13:10 KhaledEid020