Processing Ajax...

Title
Close Dialog

Message

Confirm
Close Dialog

Confirm
Close Dialog

Confirm
Close Dialog

User Image
Richard Keelan
4 discussion posts
Hi,

I'd like to have a single log category for logs that get split into multiple files, like this:

LogName.log
LogName.log.1
LogName.log.2
(etc)

This regular expression ("LogName.log.*") matches all three log names, but when I use it as a regular expression log file filter, it only matches LogName.log.

Does the file filter not work the way I expect? Is there anyway to make a category that will match all those names?

Thanks,
Richard
• Attachment: LogName File Filter.png [3,163 bytes]
LogName File Filter.png
LogName File Filter.png
Feb 7, 2019  • #1
Keith Lammers (BFS)'s profile on WallpaperFusion.com
That RegEx seems to match for me when I test it. Could you send me a screenshot of the whole Log Category rule?

Thanks!
Feb 8, 2019  • #2
User Image
Richard Keelan
4 discussion posts
The screenshot above used a placeholder name. This screenshot is the real name and regex.

While I was testing to re-confirm that AnalyticalTools.log is matched but AnalyticalTools.log.1 is not, I tried manually setting the category for AnalyticalTools.log.1 to "AT Log", and now the category is applied correctly.

It also seems like the behaviour is different whether I open a file using "Open File" or drag-and-drop. That is, when I open a file, the log category is applied correctly. But if I drag-and-drop, no log category is applied, even if I close the file and re-open it using the "Open File" button.

Maybe something is being cached somewhen when it shouldn't?

Richard
• Attachment [protected]: LogName File Filter Full Window.png [10,001 bytes]
Feb 8, 2019  • #3
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Interesting! Do you have Columns and/or Highlights configured in that rule? I don't need to see the specific ones, just want to make sure I test with a similar rule to yours.

Thanks!
Feb 11, 2019  • #4
User Image
Richard Keelan
4 discussion posts
I have columns but no highlights.
Feb 11, 2019  • #5
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Ok, thanks! I'll do some in-depth testing here and see what I can find out.
Feb 11, 2019  • #6
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Ok, so I've setup my rule the same as yours, and tested both a regular Open, and a drag and drop, and both correctly applied the Log Category to the files.

So! I'm not sure what might be happening on yours, but could you try changing the matching type from RegEx to Pattern? That should still work with the wildcard, and I'm curious to see if it makes any difference here.

Thanks!
Feb 14, 2019  • #7
User Image
Richard Keelan
4 discussion posts
Hi,

Using Pattern didn't help, but the regex does work now.

Some of the older files I've been trying to open are in a different format, and wouldn't match the default columns I've set up. I would swear that I was trying to open the new files last week, but I didn't keep track, so I can't prove. I must admit, it makes more sense that I was opening the wrong files than that the feature mysteriously started working today.

Thanks for the help and sorry for the bother.
Feb 19, 2019  • #8
Keith Lammers (BFS)'s profile on WallpaperFusion.com
No worries, glad to hear it's all good now!
Feb 19, 2019  • #9
Subscribe to this discussion topic using RSS
Was this helpful?  Login to Vote(-)  Login to Vote(-)