piersharding / php-sapnwrfc

SAP RFC Connector using the SAP NW RFC SDK for PHP
http://www.piersharding.com/blog/
52 stars 15 forks source link

Define the log folder #10

Closed ThaDafinser closed 9 years ago

ThaDafinser commented 9 years ago

If u have tracing enabled or there are errors, sapnwrfc create log *.trc file in the current directory.

Can u somehow define that directory?

piersharding commented 9 years ago

Hi -

I don't think there is any control over this - http://help.sap.com/saphelp_nwpi711/helpdata/en/48/c7bb09da5e31ebe10000000a42189b/content.htm

You could try changing the current working directory ?

ThaDafinser commented 9 years ago

Changing the cwd works. I added it in the documentation as a hint: https://github.com/piersharding/php-sapnwrfc/pull/11/files