@WebEndpoint(id="logfile") public class LogFileWebEndpoint extends Object
Endpoint
that provides access to an application's log file.Constructor and Description |
---|
LogFileWebEndpoint(org.springframework.core.env.Environment environment) |
LogFileWebEndpoint(org.springframework.core.env.Environment environment,
File externalFile) |
public LogFileWebEndpoint(org.springframework.core.env.Environment environment, File externalFile)
public LogFileWebEndpoint(org.springframework.core.env.Environment environment)
@ReadOperation(produces="text/plain; charset=UTF-8") public org.springframework.core.io.Resource logFile()
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.