Dupe log entries with LogBox 7.2+

Description

Trying to integrate LogBox (7.3) into our FW/1 application.  I successfully hacked this into our existing log() functionality and everything seemed like it was working fine but on further testing  I noticed some duplicates if I called log() repeatedly... I thought maybe I had wired up something in refactoring our existing log() call so to simplify things I just dropped this in a controller and called it and you can see the dupes generated ??

  • CF version: 2021,0,17,330334

  • JRE version: 11.0.23

This results in duplicate log entries being written:

Seems this may be an issue in 7.2+

I rolled back to 6 and 7.1 and did not experience the issue using the same simple code above.

Attachments

2

Activity

Show:

Luis MajanoApril 2, 2025 at 11:47 AM

Ok, stupid Adobe has issues when no application is defined. I Added an Application.cfc and it works now.

However, I can see the dup entries, but not all the time now. However, this is only on Adobe.

So at least I have identified, itā€™s an Adobe issue, now I have to figure out why.

Luis MajanoApril 2, 2025 at 11:40 AM

Ok, few things I have found.

I am attaching my test case source.

  1. BoxLang - works fine and faster than all below

  2. Lucee - works fine no problem

  3. Adobe 2021 - Does not even work or log, produces createobject issues

  4. Adobe 2023 - Same error as above

  5. Adobe 2025 - Same error as above

 

So at this point, I have to dig in and figure out what the heck is wrong with Adobe.

Jim PriestMarch 17, 2025 at 3:27 PM

Same behavior I did this which gets me LogBox 7.4 (CommandBox 6.1.0+00813)

Let me know if I can provide more info?

Then running the same snippet above with the 4 logger() calls - which I dropped in my signup.cfc index() call - I hit that page and get the following for each version:

Luis MajanoMarch 14, 2025 at 10:28 AM

can you now try using the be version please and report back.

Jim PriestDecember 20, 2024 at 7:49 PM

Done. Iā€™m using 7.1.0 with no issues.

Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Priority

Sentry

Created December 17, 2024 at 2:11 PM
Updated April 2, 2025 at 11:47 AM