Page 1 of 1

sftp/ssh service verbose logs

Posted: Wed Sep 14, 2016 9:05 am
by chkunk
Hi

I'm looking for the verbose logs for the sftp service.
I've looked in Logs -> Audit Logs already but there's not enough there.
What i'm after is details of the SSH handshake because we're having issues with certain applications being able to do an SSH handshake with the sftp service.....

I see that you are using jsch java library for ssh.
Can i just turn on logging for ssh by editing
C:\Program Files\Linoma Software\GoAnywhere\jre\bin\logging.properties

and then setting

.level= DEBUG

where will the log files appear?

Re: sftp/ssh service verbose logs

Posted: Wed Sep 14, 2016 11:38 am
by Support_Rick
Just change the logging on the TASK (Control Tab) to Debug Mode. This will give you everything about the connection, including what you're looking for in the Completed job Log.

Re: sftp/ssh service verbose logs

Posted: Thu Sep 15, 2016 2:02 am
by chkunk
Hey Rick

Thanks for the reply. It looks like that's the debug logs for Projects/Tasks.

What i'm actually looking for is the debug log for SSH/SFTP when you are using GoAnywhere as an SFTP server.

Do you know where i can get these?

In actual fact it looks like the GoAnywhere is using the Maverick Legacy package for SSH/SFTP (see below)
https://javassh.zendesk.com/hc/en-us/co ... al-Logging

Would really like to know how to turn on logging for this.

Re: sftp/ssh service verbose logs

Posted: Thu Sep 15, 2016 6:13 am
by chkunk
Hi

Actually i can see that you've got Maverick log settings in
C:\Program Files\Linoma Software\GoAnywhere\config\log4j.xml

If i uncomment the xml and restart the GoANywhere service, i cant find the log entries...

I've tried the following file locations:
C:\Program Files\Linoma Software\GoAnywhere\userdata\logs\goanywhere.log
and
C:\Program Files\Linoma Software\GoAnywhere\tomcat\logs

I can't find the log entries in either....

can you let me know where i can pick up the output of the logs that are configured in:
C:\Program Files\Linoma Software\GoAnywhere\config\log4j.xml

Re: sftp/ssh service verbose logs

Posted: Thu Jan 26, 2017 10:36 am
by chkunk
realized that i never posted back
for anybody with this issue in the future,... i found the logs in;:
C:\Program Files\Linoma Software\GoAnywhere\tomcat\logs\goanywhere-stdout.2016-09-15.log

the xml works.
pm me if you need the xml