Commit Graph

6 Commits

Author SHA1 Message Date
Clark Boylan 88434e0ecb Retire os-loganalyze
This project has been unmaintained for a while. CI jobs don't currently
pass. Zuulv3's dashboard has largely replaced the need for this service
as well as it renders the logs for us instead.

If there is a need for this project elsewhere it can be resurrected and
maintained by others, but for now lets retire it and move on.

Depends-On: https://review.opendev.org/753398
Change-Id: I476b14c7cd9c49270f67897206ec7ad90643703b
2020-09-22 11:39:55 -07:00
Sean Dague 5b7ad194dd Remove swift support
The swift support was never moved into production for infra because of
an unsolved issue around index files, so the logs in swift approach
was ended. This takes out all the swift supporting code to drop the
complexity of the code base. As this is very intermittently maintained
tool, less code makes any future work easier to do.

Change-Id: Iabc4cffc35633fd808556ebb68a8bdd5a5d1fde0
2017-04-05 12:53:05 -04:00
Joshua Hesketh e1079394e3 Add support for listing folder indexes
If a file isn't found, instead list an index with everything within
that folder from both disk and swift.

Change-Id: I60ef6c625904de6af098df1906598ef107f74796
2015-09-02 23:25:33 +10:00
Joshua Hesketh 2dac23f208 Add support for setting filters and views per file
Match filters and views to files based off their filename. If no
match for a file is found the default set in wsgi.conf will be used
or else a best (legacy) guess is made.

Change-Id: Idac2849b52471acb06eb43b64edb1762a74c6fe1
2015-07-15 18:41:39 +10:00
Joshua Hesketh d4ac63b711 Allow the config to set the filter and view
Currently os-loganalyze will detect what filter and view to use based
off the file type, name and other headers. Instead, allow the config
to define exactly what view to use. If none is set then the legacy
detection will still be applied.

Next change will allow the config to define filters and views based
off file match conditions.

Change-Id: I8955577c100b13ce20609426025a68fbbd052423
2015-07-15 18:41:39 +10:00
Joshua Hesketh e57e5efdd8 Add support to check swift for log files
If the file doesn't exist on disk os-loganalyze can check a swift
repository (if configured) before failing to 404.

Change-Id: I1d7f3cf41a42756aa06d662fcb0648206bffb38d
2014-05-21 10:05:41 +10:00