File tree 3 files changed +8
-3
lines changed
src/main/java/com/example/logging
3 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 40
40
<dependency >
41
41
<groupId >com.google.cloud</groupId >
42
42
<artifactId >google-cloud-logging</artifactId >
43
- <version >1.101.2 </version >
43
+ <version >1.102.0 </version >
44
44
</dependency >
45
45
46
46
<!-- Test dependencies -->
Original file line number Diff line number Diff line change @@ -35,7 +35,12 @@ public static void main(String... args) throws Exception {
35
35
36
36
try (Logging logging = options .getService ()) {
37
37
38
- String logFilter = "logName=projects/" + options .getProjectId () + "/logs/" + logName ;
38
+ String logFilter =
39
+ "logName=projects/"
40
+ + options .getProjectId ()
41
+ + "/logs/"
42
+ + logName
43
+ + " AND timestamp>=\" 2020-09-01T00:00:00.000Z\" " ;
39
44
40
45
// List all log entries
41
46
Page <LogEntry > entries = logging .listLogEntries (EntryListOption .filter (logFilter ));
Original file line number Diff line number Diff line change 39
39
<dependency >
40
40
<groupId >com.google.cloud</groupId >
41
41
<artifactId >google-cloud-logging</artifactId >
42
- <version >1.101.2 </version >
42
+ <version >1.102.0 </version >
43
43
</dependency >
44
44
45
45
<!-- Test dependencies -->
You can’t perform that action at this time.
0 commit comments