add utility function for getting log directory
git-svn-id: svn://svn.cy55.de/Zope3/src/loops/trunk@3427 fd906abe-77d9-0310-91a1-e0d9ade77398
This commit is contained in:
		
							parent
							
								
									baa3cbcd44
								
							
						
					
					
						commit
						a16fa69fe5
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		
							
								
								
									
										4
									
								
								util.py
									
										
									
									
									
								
							
							
						
						
									
										4
									
								
								util.py
									
										
									
									
									
								
							|  | @ -117,3 +117,7 @@ def getVarDirectory(request=None): | ||||||
| def getEtcDirectory(request=None): | def getEtcDirectory(request=None): | ||||||
|     varDir = getVarDirectory(request) |     varDir = getVarDirectory(request) | ||||||
|     return os.path.join(os.path.dirname(varDir), 'etc') |     return os.path.join(os.path.dirname(varDir), 'etc') | ||||||
|  | 
 | ||||||
|  | def getLogDirectory(request=None): | ||||||
|  |     varDir = getVarDirectory(request) | ||||||
|  |     return os.path.join(os.path.dirname(varDir), 'log') | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 helmutm
						helmutm