human
Solve the following python programming problem given the following code:
def _get_logs(self, app, since = None, filtered = False) : 
    if (not filtered) : 
        log_file = os.path.join (LogSettings.APPS_DIRECTORY, (self + '.log')) 
else : 
        log_file = os.path.join (LogSettings.APPS_DIRECTORY, (app + '-filtered.log')) 
with open (log_file, 'r') as f : 
        if since : 
            def _line_filter(line) : 
                return ((line != '') and (self._parse_time_line (line) > since)) 
return '
'.join (map ((lambda l : l.strip ()), filter (_line_filter, f.readlines ()))) 
else : 
            return f.read () 

    
    

    Fix the buggy line: log_file = os.path.join (LogSettings.APPS_DIRECTORY, (self + '.log'))
assistant
#Here is Python program to fix the buggy line: log_file = os.

log_file = os.path.join (LogSettings.APPS_DIRECTORY, (app + '.log'))