Turns on logging for the endpoint. Can be used to control the size limits of what gets logged as well as the location. It supports the following attributes:
limit |
Sets the size limit after which the message is truncated in the logs. Default is 64K |
inLocation |
Sets the location to log incoming messages. Can be <stderr>, <stdout>, <logger>, or a file: URL. Default is <logger> |
outLocation |
Sets the location to log outgoing messages. Can be <stderr>, <stdout>, <logger>, or a file: URL. Default is <logger> |
@Logging(limit=16000, inLocation="<stdout>")
public interface MyService {
String echoString(String s);
}