Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupal-3443205
Manage
Activity
Members
Labels
Plan
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Issue forks
drupal-3443205
Commits
c1763702
Commit
c1763702
authored
12 years ago
by
Dries Buytaert
Browse files
Options
Downloads
Patches
Plain Diff
Patch
#598586
by tim.plunkett: updated documentation.
parent
98858def
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
core/modules/system/system.api.php
+2
-1
2 additions, 1 deletion
core/modules/system/system.api.php
with
2 additions
and
1 deletion
core/modules/system/system.api.php
+
2
−
1
View file @
c1763702
...
...
@@ -1947,6 +1947,7 @@ function hook_xmlrpc_alter(&$methods) {
* - type: The type of message for this entry.
* - user: The user object for the user who was logged in when the event
* happened.
* - uid: The user ID for the user who was logged in when the event happened.
* - request_uri: The request URI for the page the event happened in.
* - referer: The page that referred the user to the page where the event
* occurred.
...
...
@@ -2013,7 +2014,7 @@ function hook_watchdog(array $log_entry) {
'@ip'
=>
$log_entry
[
'ip'
],
'@request_uri'
=>
$log_entry
[
'request_uri'
],
'@referer_uri'
=>
$log_entry
[
'referer'
],
'@uid'
=>
$log_entry
[
'u
ser'
]
->
u
id
,
'@uid'
=>
$log_entry
[
'uid
'
]
,
'@name'
=>
$log_entry
[
'user'
]
->
name
,
'@link'
=>
strip_tags
(
$log_entry
[
'link'
]),
'@message'
=>
strip_tags
(
$log_entry
[
'message'
]),
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment