SAP / node-rfc

Asynchronous, non-blocking SAP NW RFC SDK bindings for Node.js
Apache License 2.0
249 stars 73 forks source link

dev_rfc log file path #288

Closed simonegaffurini closed 11 months ago

simonegaffurini commented 1 year ago

Hello, I can't seem to find documentation for this. It looks like that when connecting to a system, a file called dev_rfc.log is created on the project directory. I was wondering if there's a way to change that log file creation path to something else, and, if not, add it as a feature.

bsrdjan commented 1 year ago

Hello @simonegaffurini,

at the moment it is not possible to de-activate or relocate this log file. It is written by SAP NWRFC SDK and required by other SAP NWRFC SDK consumers, like SAPGUI, to be written in current project working directory.

The development will check if the solution can be provided for node-rfc and other open-source clients.

There is a school holiday over here and some colleagues are on vacation. I hope to have an update in a week or two.

blumvit commented 11 months ago

Hello everyone. I achieved this by setting this environment variable: RFC_TRACE_DIR.

bsrdjan commented 11 months ago

yes, RFC_TRACE_DIR solves the issue, thanks @blumvit