package com.perforce.spark.connection;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.perforce.p4java.server.callback.ICommandCallback;
public class ConnectionLogging implements ICommandCallback {
private static Logger logger = LoggerFactory
.getLogger(ConnectionLogging.class);
@Override
public void issuingServerCommand(int key, String commandString) {
logger.info("... p4 " + commandString);
}
@Override
public void completedServerCommand(int key, long millisecsTaken) {
// TODO Auto-generated method stub
}
@Override
public void receivedServerInfoLine(int key, String infoLine) {
// TODO Auto-generated method stub
}
@Override
public void receivedServerErrorLine(int key, String errorLine) {
// TODO Auto-generated method stub
}
@Override
public void receivedServerMessage(int key, int genericCode,
int severityCode, String message) {
logger.info("... msg: " + message);
}
}
# |
Change |
User |
Description |
Committed |
|
#1
|
14742 |
Paul Allen |
update - still issues with upload. |
|
|