Closed cjwomack closed 1 year ago
Unluckily Windows does not allow GUI apps printing in terminal (it is really annoying when I have to do something on that platform), but you can still get files with logs. Just Go to settings->Advanced and select log level and target log file. You should be also able to specify log file with commandline.
Link to Stack Overflow: https://stackoverflow.com/questions/3360548/console-output-in-a-qt-gui-app
I hope I helped.
How is your suggestion different from https://github.com/AntiMicroX/antimicrox/wiki/Collecting-Logs?
I mentioned in the original post as I had followed those instructions by listing the URL, hence didn't think I need to paste the below in Steps To Reproduce (maybe I should have in hindsight)
`Commandline-based Just run antimicrox with flags describing log level and target filename.
antimicrox --log-level debug --log-file /my/path/to/amtimicrox.log Using GUI Just go to Settings->Advanced and select log level and target path.`
I already did both of those steps before submitting this report and they didn't work... Commandline based and GUI based
None of those worked.
I did ls in powershell and looked in the file path that I specified also in Windows Explorer
That's strange. From your report I thought you tried to get logs in commandline.
But in case of getting logs info regular file everything should work properly.
You told you tried to run app with python and with powershell. Have you also tried with with regular user's way (by clicking an icon and doing everything only with GUI)?
There is a guide how to collect logs on wiki, but you seemed to do everything fine
Closing due to lack of feedback
Is there an existing issue for this?
Current Behavior
Hi there,
I want a debug log to debug a particular problem or whether I'm making a mistake re execute function...
I'm trying to run an .exe with arguments either python or powershell or even just the .exe
It doesn't appear to be working the execute function but before I wanted to submit a bug report for that or to see if I was doing anything wrong for that I wanted the debug log, I've tried both the gui and command line launching options and it doesn't seem to work.
Using the latest version, the executable x64 for Windows. I am running Windows 10. Hopefully I've supplied enough information, it's nighttime here so I'm a bit drowsy but I thought I should submit these now because of potential time zone issues
Looked at https://github.com/AntiMicroX/antimicrox/issues/349 and https://github.com/AntiMicroX/antimicrox/wiki/Collecting-Logs
Expected Behavior
A debug log (Potentially Execute working - but that would be new issue, though I'm not sure I'm doing something idiotic because of late hour, hence wanted log)
Steps To Reproduce
Environment
Anything else?
No response