Sha256: bc72e283e4ea61d1467e1d0c725b5a38723d4df31f4faa4fed389865768582a8

Contents?: true

Size: 716 Bytes

Versions: 4

Compression:

Stored size: 716 Bytes

Contents

# Tips for debugging

## Debugging with source code

First, clone the git repository:

    git clone https://github.com/ivoanjo/s3_website_revived.git /tmp/s3_website

Next, edit a source file.

For example, you can change the AWS logging level in the
[src/main/resources/log4j.properties](https://github.com/laurilehmijoki/s3_website/blob/master/src/main/resources/log4j.properties) file. See [AWS SDK for Java docs](http://docs.aws.amazon.com/AWSSdkDocsJava/latest/DeveloperGuide/java-dg-logging.html).

Another example: modify a `.scala` file by adding a `print()` statement into a
relevant location.

Then push your website with the cloned code:

    cd YOUR_WEBSITE_DIR
    /tmp/s3_website/bin/s3_website push

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
s3_website_revived-4.0.3 additional-docs/debugging.md
s3_website_revived-4.0.2 additional-docs/debugging.md
s3_website_revived-4.0.1 additional-docs/debugging.md
s3_website_revived-4.0.0 additional-docs/debugging.md