Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
T
t5-ci
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 4
    • Issues 4
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge Requests 1
    • Merge Requests 1
  • Requirements
    • Requirements
    • List
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Code Review
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • sailfishos-porters-ci
  • t5-ci
  • Issues
  • #3

Closed
Open
Opened Dec 28, 2020 by Patrick C. F. Ernzer@pcfeContributor

RFE: disable cnss_diag logging in -testing build

Hi,

I installed build-lvm-testing SFOS 3.4.0.24, specifically the output of Job #871937492, on 2020-12-24.

I noticed that it logs quite a lot in /data/vendor/wifi/wlan_logs. (I started looking because after flashing 3.4.0.24 my battery life, with nearly no use at all, went from a few days to barely a day.)

[root@Pro1 ~]# du -hs /data/vendor/wifi/wlan_logs
143.0M	/data/vendor/wifi/wlan_logs
[root@Pro1 ~]# date ; ls -lhrt /data/vendor/wifi/wlan_logs
Mon Dec 28 17:58:34 CET 2020
total 143M   
-rw-------    1 system   system         0 Oct  6 19:32 txrx_pktlog_current.dat
-rw-------    1 system   system     30.0M Dec 28 16:30 host_driver_logs_001.txt
-rw-------    1 system   system     30.0M Dec 28 16:49 host_driver_logs_002.txt
-rw-------    1 system   system     30.0M Dec 28 16:51 cnss_fw_logs_000.txt
-rw-------    1 system   system     30.0M Dec 28 16:55 cnss_fw_logs_001.txt
-rw-------    1 system   system     12.3M Dec 28 16:56 host_driver_logs_current.txt
-rw-------    1 system   system     10.6M Dec 28 16:56 cnss_fw_logs_current.txt
[root@Pro1 ~]# 

I have not checked if the official Jolla images also log this much. (Since I own a Pro1, my Xperia with Jolla provided OS on it has been in a shelf and I have not updated it yet).

While I understand why it's important to log in -devel builds, would you consider having it not log in the -testing builds?

This RFE is not so much because of the battery drain, I'll have to monitor that in the days to come, but because I believe that if WLAN is giving me trouble, then I would switch logging on explicitly (or just install a -devel build). And a tad over 140 megs over a couple days does seem a wee bit excessive.

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: sailfishos-porters-ci/t5-ci#3