We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 420e292 commit 56a9b5fCopy full SHA for 56a9b5f
core/frontend/src/components/app/SettingsMenu.vue
@@ -242,6 +242,14 @@ export default Vue.extend({
242
return prettifySize(bytes)
243
},
244
async download_service_log_files(): Promise<void> {
245
+ // TODO: this should probably be done more on the backend than here...
246
+ // This is currently done here as we are relying on the filebrowser's
247
+ // on-the-fly download feature.
248
+ const command = 'dump_journal.py'
249
+ await back_axios({
250
+ url: `${API_URL}/command/blueos?command=${command}&i_know_what_i_am_doing=true`,
251
+ method: 'post',
252
+ })
253
const folder = await filebrowser.fetchFolder('system_logs')
254
await filebrowser.downloadFolder(folder)
255
0 commit comments