Skip to content

Commit

Permalink
make config a bit more user friendly
Browse files Browse the repository at this point in the history
  • Loading branch information
jutzig committed Dec 19, 2013
1 parent dd23d30 commit 105957c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,9 @@
*/
package org.jabylon.cdo.connector;

import org.jabylon.cdo.connector.internal.RepositoryConnectorImpl;
import org.osgi.framework.BundleActivator;
import org.osgi.framework.BundleContext;
import org.osgi.framework.FrameworkEvent;
import org.osgi.framework.FrameworkListener;

import org.jabylon.cdo.connector.internal.RepositoryConnectorImpl;

public class Activator implements BundleActivator {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,7 @@ public void stop(BundleContext context) throws Exception {
* @return the CDO repository created
*/
private IRepository createRepository() {
logger.info("Creating Repository in {}",ServerConstants.WORKING_DIR);
Map<String, String> props = new HashMap<String, String>();
// props.put(Props.PROP_SUPPORTING_REVISION_DELTAS, "false");
// props.put(Props.PROP_CURRENT_LRU_CAPACITY, "10000");
Expand Down
2 changes: 1 addition & 1 deletion org.jabylon.logback.config/src/main/resources/logback.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<appender name="FILE"
class="ch.qos.logback.core.rolling.RollingFileAppender">
<file>${jabylon.log}/jabylon.log</file>
<file>${jabylon.log:-logs}/jabylon.log</file>
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<!-- daily rollover -->
<fileNamePattern>${jabylon.log}/jabylon.%d{yyyy-MM-dd}.log</fileNamePattern>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<!-- daily rollover -->
<fileNamePattern>jabylon.%d{yyyy-MM-dd}.log</fileNamePattern>
<!-- keep 30 days' worth of history -->
<!-- keep 1 days' worth of history -->
<maxHistory>1</maxHistory>
</rollingPolicy>

Expand Down

0 comments on commit 105957c

Please sign in to comment.