Is there a way to log more of my containers' shell output?
I want to log farther back of my shell output for my Debian container, but it only goes far back enough to partially capture the tail-end of a complex install wizard process. Is there any way to get some more of it dumped to a .txt?
29 Replies
just run it and pipe the output to a file
like
command blah blah blah > ~/log.txt
though if it's a wizard, then that might mean tui, and if that's the case, you'll need something fancier like a terminal recording program?
The output gets cut-off at the top, I don't know how else to explain it, and if I show more of the image it is going to leak my IP. So, uh, please refer to the scroll-bar on the far right?

like after a certain number of lines, it forgets
or maybe doesn't forget, but rather just doesn't let me scroll up farther
yeah that's just that whatever terminal you're using doesn't remember as many lines as you want
you could do some kind of bash piping/redirection thing, but given you probably want to see what's being printed while you use it, that would require some more advanced stuff
or you could use some terminal recorder
actually, i'm dum lol, it's simple:
command blah blah blah | tee log.txtim using the terminal that BlendOS's 'system settings' container management utility (the one from the ▶️ button) forces me to use, because I don't know if it's possible for ▶️ to use a more comfortable and configurable terminal like Konsole or something...

@evelyn, you've gained the level
1That doesn't mean anything to me
what does command refer to? All past lines in the output?
command blah blah blah is just whatever command you're trying to run
instead of just running your command, you can "pipe" its output into tee, which will both print it and log it to log.txt
Oh the command was already ran hours ago to both install and initiate the install wizard, so we are far past that point
uhhh
so you want to go back and see the log for the thing you already ran?
it's not a repeatable process without sending all of the applications files to my systems garbage bin, or using the uninstall wizard, both of which undo all of my progress that I have made today
Yeah I wish that I could see all of the output, including all of the download bars and progress bars that the install wizard did
your only hope is to see if that program kept a log itself somewhere
without leaking my IP, heres an example of what the install wizard was outputting in cli

autodesk fusion 360 on Linux is tricky buisiness, installing it successfully is an accomplishment. I have more confidence in my ability to do a level 4 Gentoo installation and I haven't even done that before.
well i'm pretty sure it's a konsole window, so if you're really lucky, maybe konsole actually remembers it, and if you open another konsole window and increase the max lines kept (if that's even configurable), then maybe it'll show what was there before
that's the only thing i can say that might help
it's not Konsole
sadly
are you sure it's not just a konsole window that just opens straight into the container?
BlendOS opens something else, something lacking the tabs and features of Konsole, something that needs to be clicked with your mouse before you can start typing into it, even when alt+tabbing into it...
hm
idk
i never used the gui
I am positive it is not konsole
yeah i have no idea :p
well uh all you can do is google and see if that thing has a log anywhere
maybe search your filesystem for .log files or something
if BlendOS used the users term emu of choice to open containers with, I could just configure Konsole to keep like 100,000 lines, which would be more than enough to scroll all of the way up to where I very first pressed enter on the command to install and initiate the install wizard.
I've configured Konsole to keep a huge amount before. It's really really handy. Wish that it was an option here.
tbf you could've also just done
blend enter <container name> iirc, if you were concerned about it
but yeah that would be bestI didn't have the foresight to predict that this would be an issue.
but i don't do the gui at all so :p
could not have known that the install wizard output was going to be exactly 776 lines long
which uh, is um, only the part that was kept
so
its longer than that
and the terminal emu only keeps roughly ~800 by default which is not good enough for what I am doing and totally screwed me over to basically scrap the whole installation and start over possibly :(
user shell
user shell <your container>
You can run that in any terminal you want
blend :sobbingpuddle:
