New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'logs' directory is made automatically #99
Comments
Hey, Yup there is a way to avoid it - or more specifically to change it - this is necessary as this is the starting configuration (and then when you re-configure, it just re-assigns it) The way you change it is macro definition during compilation or above Macro name is PLease let me know if you can think of any alternative way of implementation :) EDIT: And you have typo in DEBUG date format, i think you need |
I have come up with a solution to this and will implement this in v9.13 |
Fixed in v9.13 :) - look for macro name feel free to check out release notes for v9.12 (released yesterday) and v9.13 |
Thanks for you attention and the feature addition, but i'm getting an assertion with the expression 'map/set iterator not dereferencable' right when the debugger steps over _INITIALIZE_EASYLOGGINGPP. Something's wrong, because if i remove the definition of the macro _ELPP_NO_DEFAULT_LOG_FILE, it works, but it (obviously) creates the folder and log file. I'll spend some time and go over the easylogging file, to see if i can help to correct bugs as i encounter them. Thanks a lot for your hard work! |
All good :) Sorry about that, try v9.14 and let me know if this issue is still there - currently i am travelling so I cant test on my windows machine |
Also if you are worried about compile warnings - they have been fixed in v9.15 |
Confirmed - its working with VC++ (and other compilers) provided you dont try to log before configuration |
I tried relative path and it works for me as well - e.g, in VC++ sample I think to be on safe side always use |
I have created issue #102 for v9.17 release |
Well it is weird. Can u plz make sure u have at least v9.15 if not any higher? You can see it from top of header file |
And one more thinn u have braces around easylogging ++ header which means the preferred search path is include path. Can u plz make sure when u look for version u look at correct file thst vs2012 is picking up |
I've been playing around and have noticed that, no matter if my configuration specifically defines a file as follows:
A folder 'logs' and empty file 'myeasylog.log' is made (inside the folder). Is that supposed to happen? Is there any way to avoid the creation of the folder and file?
The text was updated successfully, but these errors were encountered: