Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
topframe committed Jan 9, 2025
1 parent 9529989 commit fdea1f0
Show file tree
Hide file tree
Showing 54 changed files with 70 additions and 61 deletions.
File renamed without changes.
35 changes: 22 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,28 +1,37 @@
Log Relay
=========

Log Relay provides an integrated view to observe logs of multiple servers in real time.
Aspectow AppMon provides an integrated view to observe logs and events of Aspectran-based application servers in real time.

## Running Aspectow

- Clone this repository

```sh
$ git clone https://github.com/aspectran/log-relay.git
$ git clone https://github.com/aspectran/aspectow-appmon.git
```

- Build with Maven
## Building

```sh
$ cd log-relay
$ mvn clean package
```
Requirements

- Run with Aspectran Shell
* Maven 3.6.3+ (prefer included maven-wrapper)
* Java 17+

```sh
$ cd app/bin
$ ./shell.sh
```
Check out and build:

```sh
git clone git://github.com/aspectran/aspectow-appmon.git
cd aspectow-appmon
./build rebuild
```

## Running the demo

To run the demo, simply use the following command after having build `Aspectran`

```sh
./build demo
```

- Access in your browser at http://localhost:8090
- Access in your browser at http://localhost:8082
8 changes: 4 additions & 4 deletions appmon/pom.xml → backend/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,16 @@

<parent>
<groupId>com.aspectran</groupId>
<artifactId>aspectran-appmon-project</artifactId>
<artifactId>aspectow-appmon-project</artifactId>
<version>1.0.0-SNAPSHOT</version>
</parent>

<artifactId>aspectran-appmon</artifactId>
<artifactId>aspectow-appmon-backend</artifactId>
<version>1.0.0-SNAPSHOT</version>
<packaging>jar</packaging>

<name>Aspectran Appmon</name>
<description>Aspectran Appmon provides an integrated view to observe logs and events of Aspectran-based application servers in real time.</description>
<name>Aspectow AppMon Backend</name>
<description>AppMon provides an integrated view to observe logs and events of Aspectran-based application servers in real time.</description>

<properties>
<main.basedir>${project.parent.basedir}</main.basedir>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ group: {
}
group: {
name: appmon
title: Appmon
title: AppMon
event: {
name: request
reader: com.aspectran.appmon.exporter.event.request.RequestEventReader
Expand All @@ -69,14 +69,14 @@ group: {
}
log: {
name: app
title: Appmon App
title: AppMon App
file: /logs/appmon.log
lastLines: 1000
sampleInterval: 300
}
log: {
name: access
title: Appmon Access
title: AppMon Access
file: /logs/appmon-access.log
lastLines: 1000
sampleInterval: 300
Expand Down
File renamed without changes.
66 changes: 33 additions & 33 deletions demo/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,21 +19,50 @@

<parent>
<groupId>com.aspectran</groupId>
<artifactId>aspectran-appmon-project</artifactId>
<artifactId>aspectow-appmon-project</artifactId>
<version>1.0.0-SNAPSHOT</version>
</parent>

<artifactId>aspectran-appmon-demo</artifactId>
<artifactId>aspectow-appmon-demo</artifactId>
<version>1.0.0-SNAPSHOT</version>
<packaging>jar</packaging>

<name>Aspectran Appmon Demo</name>
<description>Demo application form Aspectran Appmon</description>
<name>Aspectow AppMon Demo</name>
<description>Demo application for Aspectow AppMon</description>

<properties>
<main.basedir>${project.parent.basedir}</main.basedir>
</properties>

<dependencies>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>aspectran-with-logback</artifactId>
<version>${aspectran.version}</version>
<type>pom</type>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>aspectran-shell-jline</artifactId>
<version>${aspectran.version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>aspectran-daemon</artifactId>
<version>${aspectran.version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>aspectran-with-undertow</artifactId>
<version>${aspectran.version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>aspectow-appmon-backend</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
Expand Down Expand Up @@ -141,33 +170,4 @@
</plugin>
</plugins>
</build>

<dependencies>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>aspectran-with-logback</artifactId>
<version>${aspectran.version}</version>
<type>pom</type>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>aspectran-shell-jline</artifactId>
<version>${aspectran.version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>aspectran-daemon</artifactId>
<version>${aspectran.version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>aspectran-with-undertow</artifactId>
<version>${aspectran.version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>aspectran-appmon</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
/**
* Main entry point for the application.
*/
public class AspectranAppmonDemo {
public class AspectranAppMonDemo {

public static void main(String[] args) {
try {
Expand Down
14 changes: 7 additions & 7 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@
<modelVersion>4.0.0</modelVersion>

<groupId>com.aspectran</groupId>
<artifactId>aspectran-appmon-project</artifactId>
<artifactId>aspectow-appmon-project</artifactId>
<version>1.0.0-SNAPSHOT</version>
<packaging>pom</packaging>

<name>Aspectran Appmon Project</name>
<description>Aspectran Appmon Project</description>
<url>https://aspectran.com/</url>
<name>Aspectow AppMon Project</name>
<description>Aspectow AppMon provides an integrated view to observe logs and events of Aspectran-based application servers in real time.</description>
<url>https://aspectran.com/aspectow-appmon</url>
<inceptionYear>2025</inceptionYear>

<organization>
Expand Down Expand Up @@ -97,7 +97,7 @@
</repositories>

<modules>
<module>appmon</module>
<module>backend</module>
<module>demo</module>
</modules>

Expand Down Expand Up @@ -228,8 +228,8 @@
<message>[ERROR] OLD JDK in use. Aspectran Release ${project.version} MUST use JDK 17 or newer</message>
</requireJavaVersion>
<requireMavenVersion>
<version>[3.5.0,)</version>
<message>[ERROR] OLD MAVEN in use, Aspectran ${project.version} requires Maven 3.5.0 or newer</message>
<version>[3.6.3,)</version>
<message>[ERROR] OLD MAVEN in use, Aspectran ${project.version} requires Maven 3.6.3 or newer</message>
</requireMavenVersion>
</rules>
</configuration>
Expand Down

0 comments on commit fdea1f0

Please sign in to comment.