Giter Site home page Giter Site logo

Comments (7)

dranch avatar dranch commented on August 15, 2024

I would agree that log rotation on Linux would be better done with tools like "logrotate" but I don't think Windows has any facility like this. I wonder if it would be wise to have different configurations for log files depending on the base OS (linux vs. Windows). I don't know what OSX does here
--David
KI6ZHD

from direwolf.

bradanlane avatar bradanlane commented on August 15, 2024

My solution was to code this as a command line option and/or a CONF file option. The default is to continue to use date-stamped file name.

from direwolf.

dranch avatar dranch commented on August 15, 2024

The Direwolf User-Guide.pdf file mentions the LOGDIR directive (not mentioned in the stock direwolf.conf file -- it probably should) but it still uses the yyyy-mm-dd.log format. Brandan, if you have some code that allows for a .conf / command line, option, could you consider creating a fork, commit your code there, and submit a Git pull back to John for inclusion in Direwolf? I'm happy to help you do this.. it's not too hard.

from direwolf.

aw-tech avatar aw-tech commented on August 15, 2024

Hi,i made a fork , and add custom log file name , via command line -f.
I'm not programmer , just made some copy and paste..
For example : sudo direwolf -t 0 -a 100 -d i -l /home/pi/direwolf -f mylog.log
Without -f , standart log file name with date.
https://github.com/aw-tech/direwolf

from direwolf.

dranch avatar dranch commented on August 15, 2024

Ok, your 95% of the way there. On this new fork you created wit hthe new commit, there is the "pull request" button (not the greatest terminology bit that's what Git calls it). Click on that button to submit the proposed to John for inclusion in the Dev branch )if he accepts it).

from direwolf.

aw-tech avatar aw-tech commented on August 15, 2024

Ok thanks, i will try.

from direwolf.

wb2osz avatar wb2osz commented on August 15, 2024

Similar functionality is now in the "dev" branch.
52927ce

from direwolf.

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.