• Chris Bracken's avatar
    Migrate to os_log for reading iOS simulator logs (#12079) · dd7e3133
    Chris Bracken authored
    1. Migrate simulator device log tailing to os_log toolchain
    2. When the log tag (component) is available (iOS 11/Xcode 9), filter to
       the set of log lines with tag 'Flutter'.
    
    As of iOS 11 / Xcode 9, Flutter engine logs are no longer recorded in the
    simulator's syslog file, which we previously read using tail -f. Instead
    they're now accessible through Apple's new macOS/iOS os_log facility,
    via /usr/bin/log, which supports a relatively flexible query language.
    
    When run in non-interactive mode, /usr/bin/log buffers its output in 4k
    chunks, which is significantly smaller than what's emitted up to the
    point where the observatory/diagnostics port information is logged. As a
    workaround we force it to run in interactive mode via the script tool.
    dd7e3133
Name
Last commit
Last update
..
android Loading commit data...
base Loading commit data...
commands Loading commit data...
dart Loading commit data...
data Loading commit data...
ios Loading commit data...
replay Loading commit data...
runner Loading commit data...
src Loading commit data...
analytics_test.dart Loading commit data...
application_package_test.dart Loading commit data...
artifacts_test.dart Loading commit data...
asset_bundle_package_test.dart Loading commit data...
asset_bundle_test.dart Loading commit data...
asset_bundle_variant_test.dart Loading commit data...
base_utils_test.dart Loading commit data...
bug_report_test.dart Loading commit data...
cache_test.dart Loading commit data...
channel_test.dart Loading commit data...
compile_test.dart Loading commit data...
config_test.dart Loading commit data...
crash_reporting_test.dart Loading commit data...
dart_dependencies_test.dart Loading commit data...
dependency_checker_test.dart Loading commit data...
devfs_test.dart Loading commit data...
device_test.dart Loading commit data...
forbidden_imports_test.dart Loading commit data...
hot_test.dart Loading commit data...
protocol_discovery_test.dart Loading commit data...
resident_runner_test.dart Loading commit data...
stop_test.dart Loading commit data...
trace_test.dart Loading commit data...
utils_test.dart Loading commit data...
version_test.dart Loading commit data...