sftp/ssh service verbose logs

Post any question you may have in regards to GoAnywhere MFT and let our talented support staff and other users assist you.
5 posts Page 1 of 1

chkunk

Posts: 4
Joined: Wed Sep 14, 2016 8:54 am

Post by chkunk » Wed Sep 14, 2016 9:05 am
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?

Support_Rick

Support Specialist
Posts: 592
Joined: Tue Jul 17, 2012 2:12 pm
Location: Phoenix, AZ

Post by Support_Rick » Wed Sep 14, 2016 11:38 am
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.
Rick Elliott
Lead Solutions Consultant
(402) 944.4242
(800) 949-4696

chkunk

Posts: 4
Joined: Wed Sep 14, 2016 8:54 am

Post by chkunk » Thu Sep 15, 2016 2:02 am
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.

chkunk

Posts: 4
Joined: Wed Sep 14, 2016 8:54 am

Post by chkunk » Thu Sep 15, 2016 6:13 am
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

chkunk

Posts: 4
Joined: Wed Sep 14, 2016 8:54 am

Post by chkunk » Thu Jan 26, 2017 10:36 am
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
5 posts Page 1 of 1