Jump to content

how to make hh custom logs to work?


alanoncl

Recommended Posts

hi... firstly, i dont know if this is the correct place to post this question.. i supossed so because is related to some hh feature

i have a php script that writes some info with php custom_log() with a log type 3 "custom file" file like:

error_log($msg, $severity, 3, $custom_file)

(i guess file_put_contents() works in same manner internally)

so... for keep things clean, i want the file to be located in <hh_home>/logs/mylog.log .... but nothing is written to the file! .. i just added the file to "add custom log" in webhosting section but still the same... i have another included file read like $_SERVER['DOCUMENT_ROOT'].'/../includes/myInclude.php that works flawlessly, maybe because /logs folder is special?, or have different owner/permissions?

am i doing something wrong?? .. please help me somebody who knows

Edited by alanoncl
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...