| Author |
Message |
egatenby
Joined: 19 Sep 2004
Posts: 26
Location: New York, NY
|
| Posted: Mon Oct 29, 2007 9:24 am Post subject: Lish logview on web |
|
|
Hi,
A minor feature request: Can you please add the ability to see a linode's console log on the web, perhaps under the Utilities menu? When my linode is acting up, it would be helpful to see the console log. I do not always have access to ssh (due to work firewall, etc), but always have access to the web.
Thanks,
--Eric |
|
| Back to top |
|
harmone
Joined: 21 Jun 2007
Posts: 78
|
| Posted: Mon Oct 29, 2007 10:10 am Post subject: |
|
|
Do this from inside your linode:
neo101:/var/www/public# ssh harmone@host91.atlanta.linode.com > data.txt
Then you (anyone) can browse to your textfile to read what is happening.
Ask again if you wish me to elaborate. |
|
| Back to top |
|
egatenby
Joined: 19 Sep 2004
Posts: 26
Location: New York, NY
|
| Posted: Mon Oct 29, 2007 7:13 pm Post subject: |
|
|
harmone wrote:
neo101:/var/www/public# ssh harmone@host91.atlanta.linode.com > data.txt
The main reason I am asking this to be implemented by Linode is that it will always have the latest data, assuming that they just grab the logview output.
I could cron a command myself to grab it, but the best that it can get is 1 minute snapshots. Such a solution is very kludgy, at it's best.
If the kernel panics and the VM dies, I want to know why. As I said, I do not have access to ssh at all times, but I always have web access. |
|
| Back to top |
|
harmone
Joined: 21 Jun 2007
Posts: 78
|
| Posted: Mon Oct 29, 2007 7:33 pm Post subject: |
|
|
But if you run the command I suggested you will have a textfile that grows by itself in real time. You would only need to run the command once and the text file would just keep growing.
There could of course be a problem if you get a huge amount of console messages. Then the text file would grow extremely big.
EDIT 1:
btw: Is "logview output" the same thing as "console messages"?
EDIT2:
Kernel panics you say. Well. My suggestion would not work in those cases. |
|
| Back to top |
|
egatenby
Joined: 19 Sep 2004
Posts: 26
Location: New York, NY
|
| Posted: Mon Oct 29, 2007 8:01 pm Post subject: |
|
|
harmone wrote:
Is "logview output" the same thing as "console messages"?
Code: % ssh myid@myhost.fremont.linode.com logview
myid@myhost.fremont.linode.com's password:
Showing last 250 lines from previous boot
-----------------------------------------
<logs removed>
Showing last 100 lines from current boot
-----------------------------------------
<logs removed>
|
|
| Back to top |
|
| |