#1
|
|||
|
|||
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 |
#2
|
|||
|
|||
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 RequestYou 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() |
#3
|
|||
|
|||
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? |
#4
|
|||
|
|||
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 |
#5
|
|||
|
|||
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? |
#6
|
|||
|
|||
![]()
Hi,
Yes, that was very helpful! thank you very much ![]() |
#7
|
|||
|
|||
Hi Yoav,
Thanks for the update. I am glad to hear that the new SecureCRT 7.2 feature helped you accomplish your goal. |
![]() |
Tags |
linux , logs , shared sessions |
Thread Tools | |
Display Modes | |
|
|