Commit 06b4851
authored
Refactored logging to use the same sink for tests and tools (#102)
* Fixed ResourceAttributes deprecated
* Moved parseBoolValue to PhpPartFacade
* Renamed appCodeArgs to appCodeRequestArgs
* Initial change to ComponentTestCaseBase
* Renamed appCodeArguments to appCodeRequestArgs
* Renamed ResourcesClient to ResourcesCleanerClient
* Renamed RESOURCES_CLIENT to RESOURCES_CLEANER_CLIENT
* Refactored PackagesPhpRequirementTest
* Refactored test classes that can use implTestForAppCodeSetsHowFinished
* Fixed ProcessUtilTest
* Refactored BootstrapStageLoggingClassTrait
* Fixed ComponentTestCaseBase::copyProdOptionsToAppCodeHostParams
* Synced BootstrapStageLoggingClassTrait::addContextToMessage
* Merged Add_feature_to_BootstrapStageLoggingClassTrait to Refactor_tests_tools_logging
* Refactored logging to use the same sink for tests and tools
* Temporarily disabled ComponentTestsUtilComponentTest::test0WithoutEscalation
* Temporarily disabled ComponentTestsUtilComponentTest::test0WithoutEscalation
* Re-enable ComponentTestsUtilComponentTest::test0WithoutEscalation
* Fixed ComponentTestsUtilComponentTest
* Fixed bootstrap_build_tools.php
* Fixed test clean-up timing out
* Make sure to close spawned process handle to allow it to exit normally
* Refactored MySqliAutoInstrumentationTest to use implTestForAppCodeSetsHowFinished
* Refactored PgSqlAutoInstrumentationTest
* Started removal of BuildToolsLog
* Fixed test case when MySQLi/ PostgreSQL instrumentation is disabled
* Replaced separate build tools logging by prod logging
* Added LoggingClassTraitTest::testWithIsNotEvaluatedIfLevelDisabled
* Improved alignment of tests logging with prod and tests
* Renamed feature to featureOrCategory where applicable1 parent 0f503ab commit 06b4851
108 files changed
Lines changed: 2065 additions & 1551 deletions
File tree
- packaging/test
- prod/php
- OpenTelemetry/Distro
- Log
- Util
- tests
- OTelDistroTests
- ComponentTests
- UtilTests
- Util
- MySqli
- OtlpData
- UnitTests
- UtilTests
- ConfigTests
- LogTests
- ProdLogTests
- Util
- Util
- Config
- Log
- tools/build
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
43 | | - | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
44 | 67 | | |
45 | 68 | | |
46 | 69 | | |
Lines changed: 15 additions & 20 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | 3 | | |
6 | 4 | | |
7 | 5 | | |
8 | 6 | | |
| 7 | + | |
9 | 8 | | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
28 | 30 | | |
29 | 31 | | |
30 | 32 | | |
| |||
37 | 39 | | |
38 | 40 | | |
39 | 41 | | |
40 | | - | |
| 42 | + | |
| 43 | + | |
41 | 44 | | |
42 | 45 | | |
43 | | - | |
| 46 | + | |
44 | 47 | | |
45 | 48 | | |
46 | 49 | | |
| |||
52 | 55 | | |
53 | 56 | | |
54 | 57 | | |
55 | | - | |
| 58 | + | |
56 | 59 | | |
57 | | - | |
| 60 | + | |
58 | 61 | | |
59 | | - | |
| 62 | + | |
60 | 63 | | |
61 | 64 | | |
62 | 65 | | |
63 | 66 | | |
64 | | - | |
| 67 | + | |
65 | 68 | | |
66 | 69 | | |
67 | 70 | | |
68 | 71 | | |
69 | 72 | | |
70 | 73 | | |
71 | 74 | | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
| 75 | + | |
81 | 76 | | |
82 | | - | |
| 77 | + | |
83 | 78 | | |
84 | 79 | | |
85 | 80 | | |
| |||
This file was deleted.
0 commit comments