Modify log message right before display

Eion Robb eion at
Thu May 23 21:05:16 EDT 2019

Hi Vince,

Are you making a new PurpleLogLogger object
for the encrypted logs, or trying to hook into signals in the PurpleLog for

If you're making your own PurpleLogLogger, then decrypting would be done in
the 'read' function.  If you're trying to hook into the existing log
system, then you'll probably need to override the PurpleLogLogger->read
function for the html/txt/old loggers as there isn't a signal fired for
'before log read' or anything like that


On Fri, 24 May 2019 at 11:28, Vincent Lucarelli <vincent.lucarelli at>

> Curious if there is a way to modify a message before it is displayed in
> the log viewer.  I’m prototyping a plugin and want to store encrypted logs
> on disk.  When the user chooses to view the log, the plan is to decrypt on
> demand.
> I found the log-displaying signal, but it doesn’t appear that the messages
> buried in the PurpleLog argument can be modified.  I considered building a
> custom log viewer, but that seems redundant.
> Any suggestion would be greatly appreciated.
> Thanks,
> Vince
> _______________________________________________
> Devel mailing list
> Devel at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Devel mailing list