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

  # DATASOURCE (DataSourceAutoConfiguration & DataSourceProperties)
  datasource:
    driver-class-name: org.postgresql.Driver
    name: spring_boot
    password: <PASSWORD>
    platform: postgresql
    username: postgres
    url: jdbc:postgresql://localhost:5432/spring_boot
    initialize: false

  # JPA properties - JpaProperties
  jpa:
    hibernate:
      ddl-auto: create-drop # use it carefully, for development only

    properties:
      hibernate:
        show_sql: false
        format_sql: false

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

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

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

  # DATASOURCE (DataSourceAutoConfiguration & DataSourceProperties)
  datasource:
    driver-class-name: org.postgresql.Driver
    name: spring_boot
    password: <PASSWORD>
    platform: postgresql
    username: postgres
    url: jdbc:postgresql://localhost:5432/spring_boot
    initialize: false

  # JPA properties - JpaProperties
  jpa:
    hibernate:
      ddl-auto: create-drop # use it carefully, for development only

    properties:
      hibernate:
        show_sql: false
        format_sql: false

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

# logging settings
logging:
  level:
    root: info
    org:
      apache: warn
      # to see the query parameters - change 'sql' to 'debug' and 'type' to 'trace'
      hibernate:
        sql: warn
        type: warn
      springframework: warn

  pattern:
    console: '%clr([%date{HH:mm:ss.SSS}]){faint} %clr(%2p) %clr(%-40.40logger{36}){cyan} %m%n%wex'
{'fraction_non_alphanumeric': 0.09675858732462506, 'fraction_numerical': 0.010643444605708756, 'mean_word_length': 3.078895463510848, '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': '5107975', 'n_tokens_mistral': 694, 'n_tokens_neox': 639, 'n_words': 172}