I disable dblog module and want to enable syslog module instead of it. After enabling that ,I can't see any drupal Log in error_log file in cpanel .
what is reason? where is Drupal log file for cpanel shared hostings?
My drupal version : 7
thank you
I disable dblog module and want to enable syslog module instead of it. After enabling that ,I can't see any drupal Log in error_log file in cpanel .
what is reason? where is Drupal log file for cpanel shared hostings?
My drupal version : 7
thank you
As mentioned on the documentation page for the syslog module, syslog is generally not suitable for shared hosting.
This is because it requires access to server level functionality and configuration that you aren't allowed to access on shared hosting.
IMO the Message module could be a perfect alternative, for situations where "syslog" cannot be used. Using this module, you can create your own custom "Events logging" (to register things that happened in a site). Specific to this question here, I'd create a so called "Message type" that contains the actual data to be logged.
You could even track things like updates to nodes, i.e. how data looked like before and after they got updated, a kind of "light" revisioning (only for those node attributes you want to know about).
About Message types: think of them as equivalent to Content types, whereas you create messages (instead of nodes) of a specific Message type (instead of Content type).
A really interesting facility of the Message module is its perfect integration with the Rules module. Have a look at the answer to "How to implement a follow author (or user) function?" for way more details on that.
As an example, here is a (rather basic) custom rule:
That's really it ...
A great sample of this can be found in Commerce Kickstart, which uses the Commerce Message module, to create such "Events logging". In that case in the format of an Order History, as shown in this screenprint (from this module's project page).
Should you want to do so, it seems perfectly possible to build a view (report) that contains the data similar to what you can do with the Activity module as shown in this screenprint (from this module's project page).
The Message module is an amazing module, it is fully entity based, which implies that it perfectly (out of the box) integrates with modules such as Views and Rules.
Though there is not a lot of documentation about it (which is what makes it a hidden D7 gem ...). A possible way to get started with it, and to get an idea of the kind of things it can be used for, is to have a look at the answers to:
Tutorials: