Title

Message

Confirm

<< DiscussionsReply

Log Category File Pattern

Avatar from Gravatar.com
Richard Keelan
3 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
11 days ago  • #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!
10 days ago  • #2
Avatar from Gravatar.com
Richard Keelan
3 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]
10 days ago  • #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!
7 days ago  • #4
Avatar from Gravatar.com
Richard Keelan
3 discussion posts
I have columns but no highlights.
7 days ago  • #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.
7 days ago  • #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!
4 days ago  • #7
Was this helpful?  Login to Vote  Login to Vote
<< DiscussionsReply