Processing Ajax...

Title
Close Dialog

Message

Confirm
Close Dialog

Confirm
Close Dialog

Confirm
Close Dialog

User Image
David Cottrell2
3 discussion posts
I was wondering if this feature is intelligent enough to always load the most recent file. For example, If the naming convention has a date in the name of the log such as <date>server.log and a new file is created every day with <new_date>server.log. Will logfusion detect this and load the more recent file?
Mar 31, 2014  • #1
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Right now the Watched Folders are pretty simple. When LogFusion is running, it will automatically open any new file that gets created in the Watched Folder (and matches the filter you specified for the folder). So if it loads a file called file1.log, then the next day, a new file called file2.log gets created, it will open that as well as leaving file1.log open.

Are you looking to have it automatically close file1.log when it opens file2.log?
Apr 1, 2014  • #2
User Image
David Cottrell2
3 discussion posts
Hmmm. That does not seem to be working. I have had the console running overnight and new log files were created overnight but the logfusion app did not pick them up.
Apr 1, 2014  • #3
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Could you attach a screenshot of the Watched Folder configuration, and also a couple of sample file names?
Apr 1, 2014  • #4
User Image
David Cottrell2
3 discussion posts
Apparently, it has picked them up since I posted this this morning. I will keep an eye on it and make sure there are no more "issues" either with the software or the user :laugh:
Apr 1, 2014  • #5
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Ok, glad to hear it! Sounds good :)
Apr 1, 2014  • #6
User Image
sunk818
31 discussion posts
Sorry to thread hijack. On a related note, if I have a SystemOut.log that rolls to new name at 11:59:59pm, how will LogFusion handle the new SystemOut.log that starts at 0 byte again for the new day?
Jul 8, 2014  • #7
User Image
sunk818
31 discussion posts
I wouldn't mind being able to ssh into my Linux box and tail my SystemOut.log in real time using LogFusion.
Jul 8, 2014  • #8
Keith Lammers (BFS)'s profile on WallpaperFusion.com
LogFusion would just continue reading in the lines from the new log. As long as its the same file name, it should keep tailing it, even after it's been cleared on the file system :)
Jul 10, 2014  • #9
User Image
sunk818
31 discussion posts
Yes, you are right. My SystemOut.log (if I keep my PC running) keeps tailing even if the SystemOut.log rolls out to a new name.
Aug 7, 2014  • #10
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Ok, so it's working as you'd expect then?
Aug 7, 2014  • #11
User Image
gulbrain
6 discussion posts
Quote:
Right now the Watched Folders are pretty simple. When LogFusion is running, it will automatically open any new file that gets created in the Watched Folder (and matches the filter you specified for the folder). So if it loads a file called file1.log, then the next day, a new file called file2.log gets created, it will open that as well as leaving file1.log open.

Are you looking to have it automatically close file1.log when it opens file2.log?


Picking up on this, and adding my original thought:
- Would it be possible to have the file that is opened in the Watched Folder also automatically pick up the column and highlight settings in effect for the previous (probably now dead) file in the same folder?

Often web server log files have a good few columns: maybe the column/highlight settings could be associated with a file name pattern, rather than just a file name ?
Oct 1, 2015  • #12
Keith Lammers (BFS)'s profile on WallpaperFusion.com
The next version will actually have the ability to automatically apply Highlight Rules to logs opened from Watched Folders.

After that, we're planning to revamp the column configuration stuff which will make it possible to add them to Watched Folders as well :)
Oct 1, 2015  • #13
Subscribe to this discussion topic using RSS
Was this helpful?  Login to Vote(-)  Login to Vote(-)