topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Saturday December 14, 2024, 9:17 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: JrDebugLogger -- issue with default writing to app dir on vista/win7  (Read 8070 times)

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
One thing that needs to be fixed in JrDebugLogger is that by default if you just tell debuglogger to write to a file, it will try to create that file in the application directory.

That worked fine on XP, but with VISTA and Win7, MS "virtualization" will cause the file to be written to mysterious hidden directories.

Of course you can always specify a full path for the debug log file but this is much less than ideal.

What i was thinking of adding is some windows-specific code that would kick in if you are building on windows, which would put the file somewhere like Documents/JrDebugLog/appname/filename IFF running under vista/win7 and no explicit file path is provided.

Does that seem like the best solution?

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: JrDebugLogger -- issue with default writing to app dir on vista/win7
« Reply #1 on: November 14, 2010, 10:26 AM »
This has now been implemented in v1.11.01 (Nov 13, 2010).