Page 1 of 1

No console output

Posted: 30 May 2019, 23:57
by Housecat
Hello all :mrgreen:

just installed a server. Everything works great, no errors in logs. The only issue I have is no console output from the aseco.bat (running on windows).

Only showing this on both console windows (aseco.bat + webrequest.bat):

Image

Does anyone else have this problem? Any ideas?


Thanks,

sincerely HC :mrgreen:

Re: No console output

Posted: 04 Jun 2019, 17:58
by fiendy
I don't run my server on Windows, I use Linux, but I'm pretty sure that's normal. I've had a look at the "uaseco.bat" file & it redirects all standard & error output to the log file:-

Code: Select all

"%INSTPHP%\php.exe" -d allow_url_fopen=on -d safe_mode=0 uaseco.php TM2 >> logs/%DATESTRING%-uaseco-current.txt 2>&1
If your server is running fine & you're getting messages in the log file, I wouldn't worry about it :)

Re: No console output

Posted: 04 Jun 2019, 23:38
by murdisto
To get logs in console, remove

Code: Select all

>> logs/%DATESTRING%-uaseco-current.txt 2>&1
from uaseco.bat

Re: No console output

Posted: 05 Jun 2019, 09:11
by Miss
I think you could do both by piping it to "CON" afterwards. Not sure though.

Re: No console output

Posted: 05 Jun 2019, 10:01
by murdisto
For more informations, here is an article that explains output redirection in batch files : https://www.robvanderwoude.com/battech_redirection.php