Search found 534 matches

by admin
Mon Apr 19, 2021 9:22 pm
Forum: Using LogMX
Topic: updating startup.conf JAVA_PATH
Replies: 5
Views: 676

Re: updating startup.conf JAVA_PATH

Hello, I just sent you an email (address indicated in this forum profile) to offer you 20% off to renew your license :) Let me know if you didn't receive it, or if you have any question! PS: alternatively, you can also still use Java 8/9/10 for LogMX (you can have multiple Java versions installed, a...
by admin
Mon Apr 19, 2021 3:10 am
Forum: Using LogMX
Topic: updating startup.conf JAVA_PATH
Replies: 5
Views: 676

Re: updating startup.conf JAVA_PATH

Hello, Oh ok I see what's happening now thanks to the logs you included in your last message: you are using an old version of LogMX (v6.1.1 from 2018). We fixed a compatibility issue with Java 11+/macOS in LogMX v7.10.0 (January 2020) (see https://logmx.com/download#ChangeLog) Although you may be ab...
by admin
Tue Feb 16, 2021 1:35 am
Forum: Using LogMX
Topic: Parsing JSON output from log4j2
Replies: 5
Views: 918

Re: Parsing JSON output from log4j2

Hello,

As promised, LogMX v8.1.0 is now available for download, and includes the support of Log4j v2.11+ JSON format ("compacted" or not, "complete" or not, as well as exceptions and stack traces) :)

Let me know if you have any questions!

Xavier
by admin
Thu Jan 07, 2021 4:04 am
Forum: Using LogMX
Topic: updating startup.conf JAVA_PATH
Replies: 5
Views: 676

Re: updating startup.conf JAVA_PATH

Hello, LogMX runs fine on our end with Java 15 on macOS (Java 15.0.1), as well as Java 8. As for JAVA_PATH, it should work if you point to /Home/bin, /Home/bin/, /Home, or /Home. Here are a few things you can try: Look at the LogMX log files ("LogMX*.log*" in your home directory), to see if some err...
by admin
Tue Nov 17, 2020 1:53 am
Forum: Writing a Parser
Topic: NullPointerException
Replies: 4
Views: 11884

Re: NullPointerException

Hello,

As promised, LogMX v8.0.0 is now available for download, and includes the new method "LogFileParser.init()" :) : https://logmx.com/dev/api/com/lightysof ... tml#init--

Let me know if you have any questions!

Xavier
by admin
Tue Nov 17, 2020 1:50 am
Forum: Using LogMX
Topic: Parsing JSON output from log4j2
Replies: 5
Views: 918

Re: Parsing JSON output from log4j2

Hello,

As promised, LogMX v8.0.0 is now available for download, and includes the JSON parser I mentioned :)
Let me know if you have any questions!

Xavier
by admin
Thu Oct 29, 2020 1:11 am
Forum: Using LogMX
Topic: Parsing JSON output from log4j2
Replies: 5
Views: 918

Re: Parsing JSON output from log4j2

You are right, the new version of Log4j2 now uses an { instant } object instead of "timeMillis" (I used Log4j2 v2.10 to generate these logs, but v2.11 introduced this new JSON format). We will then also update the current "Log4j2JSONLogFileParser" shipped with LogMX. But the good news is that the ge...
by admin
Wed Oct 28, 2020 12:15 am
Forum: Using LogMX
Topic: Parsing JSON output from log4j2
Replies: 5
Views: 918

Re: Parsing JSON output from log4j2

Hello, You have 3 options to open these logs in LogMX: Replace "compact="true"" with "compact="false"" in the Log4j config file you shared in your message (inside the "<JsonLayout>" element): The LogMX Java parser "Log4j2JSONLogFileParser" only supports this format for now, and according to your scr...
by admin
Fri Sep 04, 2020 2:05 am
Forum: Writing a Parser
Topic: Regex parser, timestamp with milliseconds and timezone, time is parsed wrong
Replies: 5
Views: 1083

Re: Regex parser, timestamp with milliseconds and timezone, time is parsed wrong

Hello, No worries, happy to help you use LogMX :) When you say you "can't display milliseconds at the 'display entries date with custom format'" , do you mean the timestamps in the main logs view doesn't display milliseconds as indicated by this Display option? or maybe your intent was to display na...
by admin
Thu Sep 03, 2020 3:28 am
Forum: Writing a Parser
Topic: Regex parser, timestamp with milliseconds and timezone, time is parsed wrong
Replies: 5
Views: 1083

Re: Regex parser, timestamp with milliseconds and timezone, time is parsed wrong

Actually, let me help you even further: here is a Java Class Parser I wrote for you to handle nanoseconds dates: logmx.parser.export To import it, go to Options > Parsers, and click on the import button at the bottom right corner, and select the file you downloaded from the above link. You can now d...
by admin
Thu Sep 03, 2020 2:21 am
Forum: Writing a Parser
Topic: Regex parser, timestamp with milliseconds and timezone, time is parsed wrong
Replies: 5
Views: 1083

Re: Regex parser, timestamp with milliseconds and timezone, time is parsed wrong

Hello, I believe the dates in these logs don't use milliseconds, but probably nanoseconds (because there are at least 7 digits after the seconds). And as mentioned in the LogMX documentation, only milliseconds are handled. So LogMX interprets this as 1,924,648 milliseconds, which is around 32 minute...
by admin
Tue Aug 25, 2020 1:49 am
Forum: Installing LogMX
Topic: Installing on macOS Catalina
Replies: 1
Views: 739

Re: Installing on macOS Catalina

Hello, I was not able to reproduce the issue with my macOS Catalina laptop, which makes me think that it's probably due to a security setting: the Apple support pages https://support.apple.com/en-ca/guide/mac-help/mchleab3a043/mac and https://support.apple.com/en-us/HT202491 explain how to fix these...
by admin
Tue Aug 18, 2020 2:17 am
Forum: Writing a Parser
Topic: NullPointerException
Replies: 4
Views: 11884

Re: NullPointerException

Hello,

OK, since there is clearly a need, we will add it in the next version (v8.0) :D (probably a "init()" public method to prepare the Parser if not already initialized).

We will let you know when it's available!

Thanks for your feedback.

Xavier
by admin
Sun May 17, 2020 7:26 pm
Forum: Using LogMX
Topic: Runtime Exception java.lang.reflect.InvocationTargetException
Replies: 1
Views: 1613

Re: Runtime Exception java.lang.reflect.InvocationTargetException

Hello, I tried to reproduce this error with LogMX v7.12.0 but I didn't manage to. I tried with a Regex parser using the date format you mentioned, and the date "17/May/2020:8:00:00 -0400" in the logs, but it worked fine. Could you please post here a few lines from your logs as well as the compete Re...
by admin
Thu Apr 16, 2020 10:57 pm
Forum: Writing a Parser
Topic: Regex, OR, multiline and mixed logs
Replies: 2
Views: 3028

Re: Regex, OR, multiline and mixed logs

Hello Chemo, Happy to hear you like LogMX ;-) In order to parse the given text 10:52:15,123 FATAL Exception 1 thrown caused by Exception 2 caused by Exception 3 using a Regex parser, I would use this Regex instead: (\S+?:\S+?:\S+?,\S+?)\s+?(\S+)\s+?(.*) Basically, when you want to match multiple cha...