Skip to content

setup of logger for slack java (logback / slf4j ) #1070

Closed
@MING-LI

Description

@MING-LI

By default following the example of slack web api, the dependencies like slf4j is necessary to include,
then it is needed to output and persist a log file in drive.

if there is any sample/documentation for slack logger setup for logging purpose both info or debug level (slf4j? or logback)
it could write a log file in a folder \log which the log folder is next to executable main program of .jar for sending msg to slack channel.

guess it needs an appender and config.xml (logback.xml) and add dependencies to pom file

got a main program and some threads will be generated by main function per message connection to be logged to a single logfile.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions