<commit_before># the name of the current app
spring:
  application:
    name: spring-boot-web-demo

  # indent the returned JSON responses
  jackson:
    serialization:
      INDENT_OUTPUT: true

  datasource:
    platform: h2

    # in-memory database
    url: jdbc:h2:mem:test

    # on disk database
    #url: jdbc:h2:~/test

    username: sa
    password: <PASSWORD>
    data: data-h2.sql
    schema: schema-h2.sql
    initialize: false

  jpa:
    properties:
      hibernate:
        show_sql: false
        format_sql: true

# logging settings
logging:
  level:
    root: info
    org.apache: warn
    org.springframework: warn
    org.hibernate: warn

  pattern:
    console: '%clr([%date{HH:mm:ss.SSS}]){faint} %clr(%2p) %clr(%-40.40logger{36}){cyan} %m%n%wex'<commit_msg>[improve] Improved the logging config structure<commit_after># the name of the current app
spring:
  application:
    name: spring-boot-web-demo

  # indent the returned JSON responses
  jackson:
    serialization:
      INDENT_OUTPUT: true

  datasource:
    platform: h2

    # in-memory database
    url: jdbc:h2:mem:test

    # on disk database
    #url: jdbc:h2:~/test

    username: sa
    password: <PASSWORD>
    data: data-h2.sql
    schema: schema-h2.sql
    initialize: false

  jpa:
    properties:
      hibernate:
        show_sql: false
        format_sql: true

# logging settings
logging:
  level:
    root: info
    org:
      apache: warn
      springframework: warn
      hibernate: warn

  pattern:
    console: '%clr([%date{HH:mm:ss.SSS}]){faint} %clr(%2p) %clr(%-40.40logger{36}){cyan} %m%n%wex'
{'fraction_non_alphanumeric': 0.11131957473420888, 'fraction_numerical': 0.0150093808630394, 'mean_word_length': 2.7383177570093458, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '420430', 'n_tokens_mistral': 589, 'n_tokens_neox': 545, 'n_words': 139}