Jira (PDB-4306) Json logging for puppet db fails

2 views
Skip to first unread message

Jason Stewart (JIRA)

unread,
Mar 14, 2019, 10:28:03 AM3/14/19
to puppe...@googlegroups.com
Jason Stewart commented on Bug PDB-4306
 
Re: Json logging for puppet db fails

I have also tested this in 2019.0.1 and it appears to be working as expected.

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)
Atlassian logo

Jason Stewart (JIRA)

unread,
Mar 14, 2019, 10:28:06 AM3/14/19
to puppe...@googlegroups.com
Jason Stewart created an issue
 
PuppetDB / Bug PDB-4306
Issue Type: Bug Bug
Affects Versions: PDB 5.2.7
Assignee: Unassigned
Attachments: error-starting-puppetdb.png, puppetdb-logback.png
Components: DOCS, PuppetDB
Created: 2019/03/14 7:27 AM
Fix Versions: PDB 6.0.1
Priority: Normal Normal
Reporter: Jason Stewart

This case is being raised on behalf of a customer. This was found on version 2018.1.7 and replicated on 2018.1.8.

Unable to use puppetdb json logging ( https://puppet.com/docs/puppetdb/5.2/logging.html ) as it fails with an error on restart after enabling functionality. 

Once replaced '<encoder>' with '<encoder class="net.logstash.logback.encoder.LoggingEventCompositeJsonEncoder">'

( see screenshot puppetdb-logback.png )

The restart of the puppetdb fails and produces the following error 

java.lang.NoClassDefFoundError: com/fasterxml/jackson/databind/MappingJsonFactory

( see screenshoterror-starting-puppetdb.png )

Removing class="net.logstash.logback.encoder.LoggingEventCompositeJsonEncoder" from the encoder allows puppetdb to start again.

 

 

Adam Bottchen (JIRA)

unread,
Mar 14, 2019, 7:55:02 PM3/14/19
to puppe...@googlegroups.com
Adam Bottchen updated an issue
Change By: Adam Bottchen
CS Priority: Needs Priority Reviewed

Austin Boyd (JIRA)

unread,
Dec 5, 2019, 11:32:05 AM12/5/19
to puppe...@googlegroups.com
Austin Boyd updated an issue
Change By: Austin Boyd
Zendesk Ticket IDs: 33946
Zendesk Ticket Count: 1
Reply all
Reply to author
Forward
0 new messages