Sync log only partially shown in GUI

proxwolfe

Active Member
Jun 20, 2020
449
38
33
49
So I have a PBS running onsite and another one remotely that is syncing the local PBS's data for additional safety. In the remote PBS' GUI I can see the running sync job's log but while the job has been running for 1 day and three hours, the log shown only spans less than one hour.

Is there a setting to change that would allow the log viewer to show the full log of the sync job?

Thanks!
 
Hi!
Is there are hard stop in the log viewer or is it loading endlessly/hanging/showing a blank page?
If it is loading/hanging it could simply be that the log file is too big. The sync-job is known for creating a lot of output on the receiving end (see this thread [0]). When the new logging patches are pulled in, you will be able to set the log level for the api/proxy.

[0]: https://forum.proxmox.com/threads/how-to-stop-syncjob-flooting-syslog.118894/
 
Is there are hard stop in the log viewer or is it loading endlessly/hanging/showing a blank page?
There is a hard stop. It does not seem to be loading/hanging.

The log of the current sync job spans 2 1/2 hours and the last entry is about 2 days old.
 
Hmm, it could be that the logfile is so big that it is being rotated out the same day (we always rotate at 00:00 every day). The logrotation algorithm starts compressing log files when a specific directory size has been reached (roughly 100 000 task entries). But you can also specify a max-days setting, which will override the hardcoded max-files limit. Try using this command:
Code:
proxmox-backup-manager node update --task-log-max-days N

Edit: you can also check this thread for more info: https://forum.proxmox.com/threads/proxmox-backup-logs.98220/
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!