public void persist(Logfile logfile, EntityManager em) {
Preferences prefs = DbPreferences.root(logfile, statistics, em);
try {
statistics.write(prefs, value);
LogfileParsed lfp = new LogfileParsed(statistics.name, logfile, statistics.revision);
em.persist(lfp);
} catch (BackingStoreException ex) {
LOG.log(Level.WARNING, ex.getMessage(), ex);
}
}