This commit is contained in:
		
							
								
								
									
										15
									
								
								resources/application.conf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								resources/application.conf
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,15 @@
 | 
			
		||||
ktor {
 | 
			
		||||
    deployment {
 | 
			
		||||
        port = 8080
 | 
			
		||||
        port = ${?PORT}
 | 
			
		||||
 | 
			
		||||
    }
 | 
			
		||||
    mqtt {
 | 
			
		||||
        broker = ${?BROKER}
 | 
			
		||||
        username = ${?USERNAME}
 | 
			
		||||
        password = ${?PASSWORD}
 | 
			
		||||
    }
 | 
			
		||||
    application {
 | 
			
		||||
        modules = [ com.kmlabz.birbnetes.ApplicationKt.module ]
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										12
									
								
								resources/logback.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								resources/logback.xml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,12 @@
 | 
			
		||||
<configuration>
 | 
			
		||||
    <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
 | 
			
		||||
        <encoder>
 | 
			
		||||
            <pattern>%d{YYYY-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern>
 | 
			
		||||
        </encoder>
 | 
			
		||||
    </appender>
 | 
			
		||||
    <root level="trace">
 | 
			
		||||
        <appender-ref ref="STDOUT"/>
 | 
			
		||||
    </root>
 | 
			
		||||
    <logger name="org.eclipse.jetty" level="INFO"/>
 | 
			
		||||
    <logger name="io.netty" level="INFO"/>
 | 
			
		||||
</configuration>
 | 
			
		||||
		Reference in New Issue
	
	Block a user