Questions tagged as 'syslog'

0
answers

LoggerFields for Syslog (write priority and stack trace)

Log4j can send logs to Papertrail using a syslog appender ( documentation ): log4j.appender.syslog=org.apache.log4j.net.SyslogAppender log4j.appender.syslog.Facility=LOCAL7 log4j.appender.syslog.FacilityPrinting=false log4j.appender.syslog.H...
asked by 14.05.2015 / 20:53
0
answers

Python 3 Consumption API, does not bring json dump ?? It's got 200! OK, but at json it's error 400 (authentification)

import requests, json, base64 descoded = 'AppKey:keydaminhaempresa, Signature:hash, Env:dev' user= 'empresa' passe= textojaembase64 url= "" body = json.dumps({"token": ""}) #with open(code, 'rb') as f: #f.splitlines() headers = {'Content...
asked by 07.10.2018 / 18:13
1
answer

How to use quotation marks inside quotation marks and exchange word from within argument?

Running the os.system("reg add "caminho\caminho\caminho\caminho\"") And if there is more, how can I choose a word in the middle of this command and replace with another one?     
asked by 29.06.2018 / 19:46