Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remote logging? #4

Closed
LaundroMat opened this issue Mar 27, 2018 · 2 comments
Closed

Remote logging? #4

LaundroMat opened this issue Mar 27, 2018 · 2 comments

Comments

@LaundroMat
Copy link

Hi -

First of all, great tool, thanks! It really scratches an itch I had 🥇

Could you elaborate in the docs on how to set up remote logging (if such a thing is possible)? Specifically tailing a log on another server and watching it in a cutelog client on another machine.

@busimus
Copy link
Owner

busimus commented Mar 27, 2018

You can indeed log remotely.
The usage example in the readme lets you specify the address of the machine that you wish to send logs to. That address could be local or remote because cutelog by defaults binds to 0.0.0.0 (any address it can, basically).
I just tested it and logging from my VPS to my PC worked fine (but I had to forward the port that cutelog is bound to in my router's settings).

But, since you mentioned "tailing a log", I think you mean something different, like parsing log strings emitted to the terminal by an arbitrary program and sending them to cutelog. Is that correct?

@LaundroMat
Copy link
Author

Thanks for the quick reply!

I mistakenly thought cutelog was also able connect to an external client (e.g. via SSH) and read the logs from there too.

I'll experiment with something like https://localtunnel.github.io/ to try and see if I can push the logs from my remote machine to this client here (which is on a corporate network and I don't have access to the router).

@busimus busimus closed this as completed Jul 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants