VanDyke Software Forums

VanDyke Software Forums (https://forums.vandyke.com/index.php)
-   General (https://forums.vandyke.com/forumdisplay.php?f=11)
-   -   shared Logs for windows and Linux clients (https://forums.vandyke.com/showthread.php?t=11489)

Yoov 05-02-2014 02:34 AM

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

rtb 05-02-2014 08:33 AM

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()


rtb 05-02-2014 10:50 AM

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?

Yoov 05-05-2014 03:50 AM

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

rtb 05-05-2014 10:55 AM

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?

Yoov 05-06-2014 03:17 AM

Hi,

Yes, that was very helpful!

thank you very much :)

rtb 05-06-2014 07:25 AM

Hi Yoav,

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


All times are GMT -6. The time now is 06:33 AM.