Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ TheIDE » U++ TheIDE: Compiling, Linking, Debugging of your packages » log-file is empty
Re: log-file is empty [message #52083 is a reply to message #52081] Wed, 17 July 2019 10:35 Go to previous messageGo to previous message
slashupp is currently offline  slashupp
Messages: 231
Registered: July 2009
Experienced Member
mirek Smile seems we were trying to do the same question at the exact same moment & the forum-tool couldn't handle it Smile
I started a second question, maybe you should delete that one

Quote:
Normally, logfile is empty, unless you put something there.

Also, LOG only works in debug mode, in release it is excluded from the final code.


(my app does keep it's own logging and there is no problem with that)

I want the log-output from theide/upp specifically this: https://www.ultimatepp.org/srcdoc$Core$Leaks_en-us.html

In response to Xemuth:
Quote:

Hello, put

StdLogSetup(LOG_COUT|LOG_FILE);

at Begining of your code



this does not work..
I placed the call in:
Code: [Select all] [Show/ hide]

GUI_APP_MAIN
{
StdLogSetup(LOG_COUT|LOG_FILE);
...
}

I check the expected logfile at $HOME/.upp/appname/appname.log both direct and using Alt+L
and it remains unchanged.

I checked GetStdLogPath(); both before and after the call to StdLogSetup(..) and it also is empty.

How do I get the logfile to be generated/populated?

[Updated on: Wed, 17 July 2019 10:38]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: icon.rc dont work anymore since last theIDE version
Next Topic: How to inspect memory at pointer-address while debugging
Goto Forum:
  


Current Time: Sun Apr 28 06:53:58 CEST 2024

Total time taken to generate the page: 0.02870 seconds