logfile Questions
2
Solved
I use forever to launch my nodeJs server and I choose the log file :
forever -l /home/api/log/api_output.log start server.js
I use logrotate to move logfile every day (like advise here : NodeJS/F...
1
Solved
I would like to write into my LOG file the current date and time :
$logFileName = 'file://c:\MYLOG.log'; // /var/logs/file.log
$logContent = "Running through the function".PHP_EOL;
$date = (new Da...
1
Solved
my system support team needs one simple log-file, with a maximum size of 10MB. Older log-lines can be deleted when the file reaches 10MB. So roll out the oldest lines.
What is a good appender for ...
1
I'm going to be running a shell script containing a CP command using a scheduled cron job. I would like to include in the script something to output to a log file whether the copy was successful or...
3
Solved
This is not really a question, but an answer which would hopefully help other people.
Those who've written a windows service before, know what a mission it could be to find a bug in it, particular...
Welloiled asked 17/9, 2013 at 14:30
3
Solved
i'd like to "Tail -f" a lot of logfiles from within a java app.
I've gotten this to work by monitoring the size and last update and repeatedly opening the file and reading the last few bytes whene...
2
Solved
In java you could use System.out.println() to print a blank line but how does it work with log4j in a logfile?
There I also want to have one or more blank lines inside the logfile.
I already read ...
1
Solved
I have a mysql log file that regularly goes over 30gb, this sucks when you realise that your server is full because of this file. I need a simple solution to limit this file to about 1gb, i don't n...
2
I am looking for a free Windows GUI log file viewer that can display lines in reverse order with the newest lines at the top of the screen. Bonus points if it has an indication that there has...
Pippa asked 12/7, 2011 at 13:45
1
I am new to this. I have a database (created by someone else) that has 2 .ldf files. (blah_log.ldf and blah_log2.ldf). My manager asked me to remove one of the log files but I cannot. How do I do t...
Kawasaki asked 31/5, 2012 at 18:42
2
Solved
I currently develop a simple web app using Eclipse and a local Tomcat 7 server. I configured Eclipse so I can start the Tomcat 7 right out of my IDE - not much magic here.
In my web app, I use SLF...
3
Solved
I am trying to snoop on a log file that an application is writing to.
I have successfully hooked createfile with the detours library from MSR, but createfile never seems to be called with file I am...
© 2022 - 2024 — McMap. All rights reserved.