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

logstation does not seem to respect "-c" argument #34

Closed
Kkevsterrr opened this issue Oct 13, 2018 · 15 comments
Closed

logstation does not seem to respect "-c" argument #34

Kkevsterrr opened this issue Oct 13, 2018 · 15 comments

Comments

@Kkevsterrr
Copy link

I tried using logstation -c, but it does not seem to respect it.

$ mv logstation.conf logstation_othername.conf
$ java -jar logstation-0.3.10.jar -c logstation_othername.conf 
Welcome to logstation! Creating default logstation.conf...
Please setup your logstation.conf located here: /home/kbock/tincture3/logstation.conf
Then relaunch and logstation will be located at: http://127.0.0.1:0

Am I passing the flags incorrectly? Thanks for your help!

@jdrews
Copy link
Owner

jdrews commented Oct 13, 2018

That looks right to me.

Can you tell me more about your environment? What OS, and java versions? Thanks!

@Kkevsterrr
Copy link
Author

Kkevsterrr commented Oct 13, 2018

Sure thing! I'm running in a Linux Ubuntu 16.04 VM.

$ cat /proc/version
Linux version 4.15.0-36-generic (buildd@lcy01-amd64-017) (gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.10)) #39~16.04.1-Ubuntu SMP Tue Sep 25 08:59:23 UTC 2018

Java:

$ java -version
java version "1.8.0_144"
Java(TM) SE Runtime Environment (build 1.8.0_144-b01)
Java HotSpot(TM) 64-Bit Server VM (build 25.144-b01, mixed mode)

@jdrews
Copy link
Owner

jdrews commented Oct 13, 2018

Ok cool. I'll spin up a Ubuntu 16.04 VM here in a sec and try it out.

@Kkevsterrr
Copy link
Author

Thanks so much!!

@jdrews
Copy link
Owner

jdrews commented Oct 13, 2018

Does it have a desktop environment? Or are you running it with no desktop environment?

@Kkevsterrr
Copy link
Author

There is a desktop environment, but I would ideally like to run this headlessly, and be able to access the logs from another machine. (Run logstation on a server with logs, see those logs on other computers)

@jdrews
Copy link
Owner

jdrews commented Oct 13, 2018

Ok makes sense. I haven't tried it headless before. I'll give it a go and see what happens.

@jdrews
Copy link
Owner

jdrews commented Oct 13, 2018

I was able to recreate the problem with it not honoring the -c parameter. Looking into it.

@jdrews
Copy link
Owner

jdrews commented Oct 13, 2018

@Kkevsterrr
Copy link
Author

Sweet - I'll give it a shot. Does the pre-release address both #34 and #33, or just #34?

@Kkevsterrr
Copy link
Author

[INFO] [10/12/2018 21:36:47.458] [main] [LogStation$] Unable to launch browser automatically. works like a charm :)

@jdrews
Copy link
Owner

jdrews commented Oct 13, 2018

Both

@Kkevsterrr
Copy link
Author

Tested #33 as well and it works great. Thanks so much for your fast response on this! I'll keep playing with it as I work to integrate it and let you know if I run into anything else.

@Kkevsterrr
Copy link
Author

(I'll let you close these issues when you want to; you're free to close them now if you want, or you can do it when the pre-release is a full release)

@jdrews
Copy link
Owner

jdrews commented Oct 13, 2018

Glad it's working. I'll close out the issues.

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