Skip to content

Commit

Permalink
Merge pull request #97 from AY1920S1-CS2103T-W12-3/release-v1.2.1
Browse files Browse the repository at this point in the history
Release v1.2.1
  • Loading branch information
joloong committed Oct 22, 2019
2 parents 192275f + 2a5cb26 commit 21a346d
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 17 deletions.
26 changes: 13 additions & 13 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ dependencies {
}

shadowJar {
archiveName = 'addressbook.jar'
archiveName = 'PalPay.jar'

destinationDir = file("${buildDir}/jar/")
}
Expand Down Expand Up @@ -120,21 +120,21 @@ asciidoctor {
outputDir "${buildDir}/docs"

options = [
template_dirs: [file("${sourceDir}/templates")],
template_dirs: [file("${sourceDir}/templates")],
]

attributes = [
linkcss: true,
stylesheet: 'gh-pages.css',
'source-highlighter': 'coderay',
icons: 'font',
experimental: true,
sectlinks: true,
idprefix: '', // for compatibility with GitHub preview
idseparator: '-',
'site-root': "${sourceDir}", // must be the same as sourceDir, do not modify
'site-name': 'PalPay',
'site-githuburl': 'https://github.com/AY1920S1-CS2103T-W12-3/main',
linkcss : true,
stylesheet : 'gh-pages.css',
'source-highlighter': 'coderay',
icons : 'font',
experimental : true,
sectlinks : true,
idprefix : '', // for compatibility with GitHub preview
idseparator : '-',
'site-root' : "${sourceDir}", // must be the same as sourceDir, do not modify
'site-name' : 'PalPay',
'site-githuburl' : 'https://github.com/AY1920S1-CS2103T-W12-3/main',
]

options['template_dirs'].each {
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/seedu/address/MainApp.java
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
*/
public class MainApp extends Application {

public static final Version VERSION = new Version(0, 6, 0, true);
public static final Version VERSION = new Version(1, 2, 1, true);

private static final Logger logger = LogsCenter.getLogger(MainApp.class);

Expand Down
7 changes: 4 additions & 3 deletions src/main/java/seedu/address/commons/core/LogsCenter.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@
* Configures and manages loggers and handlers, including their logging level
* Named {@link Logger}s can be obtained from this class<br>
* These loggers have been configured to output messages to the console and a {@code .log} file by default,
* at the {@code INFO} level. A new {@code .log} file with a new numbering will be created after the log
* file reaches 5MB big, up to a maximum of 5 files.<br>
* at the {@code INFO} level. A new {@code .log} file with a new numbering will be created after the log
* file reaches 5MB big, up to a maximum of 5 files.<br>
*/
public class LogsCenter {
private static final int MAX_FILE_COUNT = 5;
private static final int MAX_FILE_SIZE_IN_BYTES = (int) (Math.pow(2, 20) * 5); // 5MB
private static final String LOG_FILE = "addressbook.log";
private static final String LOG_FILE = "palpay.log";
private static Level currentLogLevel = Level.INFO;
private static final Logger logger = LogsCenter.getLogger(LogsCenter.class);
private static FileHandler fileHandler;
Expand Down Expand Up @@ -95,6 +95,7 @@ private static void addFileHandler(Logger logger) {

/**
* Creates a {@code FileHandler} for the log file.
*
* @throws IOException if there are problems opening the file.
*/
private static FileHandler createFileHandler() throws IOException {
Expand Down

0 comments on commit 21a346d

Please sign in to comment.