Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > General

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 05-02-2014, 02:34 AM
Yoov Yoov is offline
Registered User
 
Join Date: Apr 2014
Location: Berlin
Posts: 3
shared Logs for windows and Linux clients

Hi,

we are using SecureCRT with windows clients, and Linux clients.
we are having our sessions on a shared windows location, and also the logs.

we were able to configure the Linux devices to use a path in the global configuration to access the sessions, the problem is that the Logs path is on the sessions, and not on the clients.

therefor when Linux users open the sessions their clients can't access the windows path of the logs, and their sessions are therefor not logged.

any help in resolving this issue will be highly appreciated

Thanks
Yoav
Reply With Quote
  #2  
Old 05-02-2014, 08:33 AM
rtb rtb is offline
VanDyke Technical Support
 
Join Date: Aug 2008
Posts: 4,305
Hi Yoav,

Thanks for the post. I have created a feature request in our SecureCRT enhancement database to add the ability to store more personal data like the log file path. Should this feature be implemented in a future SecureCRT release, we will post to this forum thread.

Since we already have your email address in our database, if anyone else would like to see this feature implemented and get notified directly, please complete and submit the form at the following location:
Submit Feature Request
You may consider using a logon script that would determine the platform, set a session log file path accordingly and finally enable logging.

Here is example Python code that illustrates how this could be accomplished:
Code:
import sys
def Main():
    objTab = crt.GetScriptTab()
    objConfig = objTab.Session.Config
    if sys.platform == "win32":
        objConfig.SetOption("Log Filename", "C:\Temp\logs\\test.log")
    else:
        objConfig.SetOption("Log Filename", "/root/.vandyke/logs/test.log")
    objConfig.Save
    objTab.Session.LogUsingSessionOptions()
    
Main()
__________________
--Todd

VanDyke Software
Technical Support
support@vandyke.com
505-332-5730
Reply With Quote
  #3  
Old 05-02-2014, 10:50 AM
rtb rtb is offline
VanDyke Technical Support
 
Join Date: Aug 2008
Posts: 4,305
Hi Yoav,

A colleague suggested another possibility that may be easier than using the logon script.

What is the path for the log files in relation to the configuration folder?
__________________
--Todd

VanDyke Software
Technical Support
support@vandyke.com
505-332-5730
Reply With Quote
  #4  
Old 05-05-2014, 03:50 AM
Yoov Yoov is offline
Registered User
 
Join Date: Apr 2014
Location: Berlin
Posts: 3
Hi Todd,

thanks for the reply.
the configuration files are on \\server\SecureCRT\Config
and the log files are at \\server\SecureCRT\Logs

Thanks
Yoav
Reply With Quote
  #5  
Old 05-05-2014, 10:55 AM
rtb rtb is offline
VanDyke Technical Support
 
Join Date: Aug 2008
Posts: 4,305
Hi Yoav,

Thanks for the information. You may consider editing the session .ini files to accomplish your goal. You would need to modify the log file line to be similar to the following:
S:"Log Filename"=${VDS_CONFIG_PATH}/../Logs/...
Does this help you accomplish your goal?
__________________
--Todd

VanDyke Software
Technical Support
support@vandyke.com
505-332-5730
Reply With Quote
  #6  
Old 05-06-2014, 03:17 AM
Yoov Yoov is offline
Registered User
 
Join Date: Apr 2014
Location: Berlin
Posts: 3
Thumbs up

Hi,

Yes, that was very helpful!

thank you very much
Reply With Quote
  #7  
Old 05-06-2014, 07:25 AM
rtb rtb is offline
VanDyke Technical Support
 
Join Date: Aug 2008
Posts: 4,305
Hi Yoav,

Thanks for the update. I am glad to hear that the new SecureCRT 7.2 feature helped you accomplish your goal.
__________________
--Todd

VanDyke Software
Technical Support
support@vandyke.com
505-332-5730
Reply With Quote
Reply

Tags
linux , logs , shared sessions

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 03:21 AM.