Giter VIP home page Giter VIP logo

Comments (8)

lennartkoopmann avatar lennartkoopmann commented on July 30, 2024

thx, moved this up in priority

from graylog2-server.

wr0ngway avatar wr0ngway commented on July 30, 2024

Also running into this - my tmp dir gets cleared out pretty regularly, so doesn't make a good location for storing the tmp file. Would be nice if the ctl script managed the pid file or its location was configured in the graylog2.conf.

from graylog2-server.

Bapabooiee avatar Bapabooiee commented on July 30, 2024

I think the PID location would be best-specified as an argument, rather than in graylog2.conf, as init scripts will need to be able to easily know/set the PIDfile location.

That said, I think /var/run/graylog2.pid would be a good, standard location for the PIDfile (if one isn't specified as a flag).

from graylog2-server.

lennartkoopmann avatar lennartkoopmann commented on July 30, 2024

Yepp.

I'll include this in the next release. Maybe one of you finds the time to integrate it?! It's pretty isolated of the other code so it should not take so long.

from graylog2-server.

pstehlik avatar pstehlik commented on July 30, 2024

how about using log4j for logging?
i would be willing to pick that up in a first implementation.

workaround for log files would be directing the output to a log file of your choice like
sudo java -jar graylog2-server.jar > /var/log/graylog2.log 2>&1 &

from graylog2-server.

lennartkoopmann avatar lennartkoopmann commented on July 30, 2024

yes philip :) please wait until I merge some stuff to master in the next days. I'll let you know once it's done

from graylog2-server.

lennartkoopmann avatar lennartkoopmann commented on July 30, 2024

philip, i merged the big load of changes to master just now. you could start changing to log4j now

from graylog2-server.

lennartkoopmann avatar lennartkoopmann commented on July 30, 2024

Moved to http://jira.graylog2.org/browse/SERVER-44 as this issue tracker is being shut down! Thank you!

from graylog2-server.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.