You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Logging in Production Environment?

Accepted answer
edited Jun 27, 2016 7:40AM in Customer Portal 4 comments



When working in the development mode, there is this nifty little function called logMessage which comes in handy to log information. However, per the documentation, this won't work in Production environment.

Is there a way in which I can have logging feature in Production too? PHP's standard file_put_contents or fopen functions do not seem to work and throw error messages (I'm trying to write to a text file in the /euf/assets/abc/logs/status.txt file).

open_basedir restriction in effect

File (/euf/assets/abc/logs/status.txt) is not within the allowed path(s):

Howdy, Stranger!

Log In

To view full details, sign in.


Don't have an account? Click here to get started!