@@ -207,7 +207,7 @@ class Post extends Auditing
207207 public static $logCustomMessage = '{user.name|Anonymous} {type} a post {elapsed_time}'; // with default value
208208 public static $logCustomFields = [
209209 'title' => 'The title was defined as "{new.title||getNewTitle}"', // with callback method
210- 'ip' => 'The changes were recorded from the address {ip|route|getAnotherthing}',
210+ 'ip' => 'Registered from the address {ip|route|getAnotherthing}',
211211 'publish_date' => [
212212 'created' => 'Publication date: {new.publish_date}',
213213 'updated' => 'The post publication date has been updated from {old.publish_date} to {new.publish_date}'
@@ -267,20 +267,20 @@ Result:
267267 <li >Antério Vieira created a post 1 day ago
268268 <ul>
269269 <li>The title was defined as "Did someone say rapid?"</li>
270- <li>The changes were recorded from the address 192.168.10.1</li>
270+ <li>Registered from the address 192.168.10.1</li>
271271 <li>Publication date: 2016-05-25 00:49:26.0</li>
272272 </ul>
273273 </li >
274274 <li >Antério Vieira updated a post 1 day ago
275275 <ul>
276276 <li>The title was updated as "Did someone say rapid?"</li>
277- <li>The changes were recorded from the address 192.168.10.1</li>
277+ <li>Registered from the address 192.168.10.1</li>
278278 <li>The post publication date has been updated from 2016-05-20 00:49:26.0 to 2016-05-25 00:49:26.0</li>
279279 </ul>
280280 </li >
281281 <li >Raphael França deleted a post 2 day ago
282282 <ul>
283- <li>The changes were recorded from the address 192.168.10.1</li>
283+ <li>Registered from the address 192.168.10.1</li>
284284 </ul>
285285 </li >
286286 <li >...</li >
0 commit comments