fix: better logging behaviour
This commit is contained in:
		
							parent
							
								
									3e6d0333b7
								
							
						
					
					
						commit
						398019afe8
					
				
					 36 changed files with 256 additions and 188 deletions
				
			
		| 
						 | 
				
			
			@ -5,10 +5,12 @@ name = new emgauwa device
 | 
			
		|||
discovery-port = 4422
 | 
			
		||||
: 1886 for testing; 1885 for dev-env; 1884 for testing-env; 1883 for prod-env
 | 
			
		||||
mqtt-port = 1886
 | 
			
		||||
mqtt-host = localhost
 | 
			
		||||
 | 
			
		||||
relay-count = 10
 | 
			
		||||
database = controller_db.lmdb
 | 
			
		||||
log-level = debug
 | 
			
		||||
log-file = stdout
 | 
			
		||||
 | 
			
		||||
[relay-0]
 | 
			
		||||
driver = piface
 | 
			
		||||
| 
						 | 
				
			
			@ -44,11 +46,13 @@ inverted = 1
 | 
			
		|||
driver = gpio
 | 
			
		||||
pin = 1
 | 
			
		||||
inverted = 1
 | 
			
		||||
pulse-duration = 3
 | 
			
		||||
 | 
			
		||||
[relay-7]
 | 
			
		||||
driver = gpio
 | 
			
		||||
pin = 0
 | 
			
		||||
inverted = 1
 | 
			
		||||
pulse-duration = 3
 | 
			
		||||
 | 
			
		||||
[relay-8]
 | 
			
		||||
driver = gpio
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,14 +1,16 @@
 | 
			
		|||
[core]
 | 
			
		||||
server-port = 5000
 | 
			
		||||
database = core.sqlite
 | 
			
		||||
content-dir = /usr/share/webapps/emgauwa
 | 
			
		||||
not-found-file = 404.html
 | 
			
		||||
not-found-file-mime = text/html
 | 
			
		||||
not-found-content = 404 - NOT FOUND
 | 
			
		||||
not-found-content-type = text/plain
 | 
			
		||||
 | 
			
		||||
: 4421 for dev-env; 4420 for testing-env; 4419 for prod-env; 4422 for testing
 | 
			
		||||
: 4422 for testing; 4421 for dev-env; 4420 for testing-env; 4419 for prod-env
 | 
			
		||||
discovery-port = 4422
 | 
			
		||||
: 1886 for testing; 1885 for dev-env; 1884 for testing-env; 1883 for prod-env
 | 
			
		||||
mqtt-port = 1886
 | 
			
		||||
 | 
			
		||||
log-level = debug
 | 
			
		||||
log-file = stdout
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue