public String profile(long id, String to, String from, ProfileQuery query)
{
String result = null;
try {
result = new ProfileAction().execute(query.getActiveTime(),
query.getPeriod(),
query.getDepth());
} catch (ConfigException e) {
log.log(Level.WARNING, e.getMessage(), e);
result = e.getMessage();