Keep the console logs history

TrancheDePain

New Member
Dec 19, 2021
3
0
1
29
Hello,

New Proxmox user here. I couldn't find any answer through google to this particular question so here I am.
So for exemple I'm testing with running a minecraft server. Now I'm running the server, I get logs in the console with what's going on and I switch over to summary to check my ressources and go back to the console to see the history was wiped, but the new logs of the minecraft server just start filling the console.

Now I'd simply like to know if it's possible to have the console not reset whenever I go to another tab or if I can get the history some other way. As far as I am aware, Ubuntu has a log file somewhere for the console, but it only keeps track of the commands I entered, not the actual console logs.

Any help/suggestion appreciated. I was suggested to maybe run Docker as keeping tracks of the logs would be simpler that way. I haven't worked with Docker a lot so I'm not sure exactly how that would be more effective, but I'm pretty sure there should be some kind of way to do that through proxmox/lxc in the first place?

Any help appreciated!
 
You can double click the VM to open the console/VNC in a new window. That way you wont loose the console when doing other stuff in the webUI.

Or directly use a SSH client like putty to connect to the guest.
 
That would imply keeping those windows/ssh client open 24/7 also. It is a decent for short term monitoring but I suppose there are alternatives for more long term options?
 
You could install tools like tmux to each guest to be able to restore previous sessions. That way you can continue the session even if it was interrupted and got closed.
 
Ah I was not aware of that tool. I'll take a look at your link and from what you say it may answer my problem. Thanks!
 

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!