Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change trace directory and level at runtime #17

Closed
ThaDafinser opened this issue Feb 24, 2016 · 1 comment
Closed

Change trace directory and level at runtime #17

ThaDafinser opened this issue Feb 24, 2016 · 1 comment
Assignees
Milestone

Comments

@ThaDafinser
Copy link
Contributor

https://scn.sap.com/thread/1822094

To change the trace dir, i've done this ugly thing in the PHP5 extension

        $cwd = getcwd();
        chdir('../my-log-dir');
        try {
            $conn = new sapnwrfc($options);
        } finally {
            chdir($cwd);
        }

Maybe adding the RfcResetTraceDir makes sense?

@gkralik
Copy link
Owner

gkralik commented Feb 24, 2016

Yes, I plan to add methods for setting the trace dir and level. It is on my TODO list 😄

@gkralik gkralik added this to the 0.7.0 milestone Feb 28, 2016
@gkralik gkralik changed the title RfcResetTraceDir Change trace directory and level at runtime Feb 28, 2016
@gkralik gkralik self-assigned this Feb 28, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants