[jira] [Commented] (OPENMEETINGS-2567) Investigate Performance logging options
[ https://issues.apache.org/jira/browse/OPENMEETINGS-2567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17279298#comment-17279298 ] ASF subversion and git services commented on OPENMEETINGS-2567: --- Commit ae7a7959c4c514d3385864149b44333e4684ef33 in openmeetings's branch refs/heads/feature/OPENMEETINGS-2567-investigate-performance-monitoring from Sebastian Wagner [ https://gitbox.apache.org/repos/asf?p=openmeetings.git;h=ae7a795 ] OPENMEETINGS-2567 Reduce log noise to info > Investigate Performance logging options > --- > > Key: OPENMEETINGS-2567 > URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2567 > Project: Openmeetings > Issue Type: Task > Components: Performance >Affects Versions: 5.1.0 >Reporter: Sebastian Wagner >Assignee: Sebastian Wagner >Priority: Major > > A placeholder Jira to log changes around investigating performance logging > options. > Investigation happen in branch, but still good to have Jira to log commits in > it. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[openmeetings] branch v5.1.0 created (now 6691181)
This is an automated email from the ASF dual-hosted git repository. sebawagner pushed a change to branch v5.1.0 in repository https://gitbox.apache.org/repos/asf/openmeetings.git. at 6691181 5.1.0 Release Candidate 1 No new revisions were added by this update.
[openmeetings] branch feature/OPENMEETINGS-2567-investigate-performance-monitoring updated: OPENMEETINGS-2567 Reduce log noise to info
This is an automated email from the ASF dual-hosted git repository. sebawagner pushed a commit to branch feature/OPENMEETINGS-2567-investigate-performance-monitoring in repository https://gitbox.apache.org/repos/asf/openmeetings.git The following commit(s) were added to refs/heads/feature/OPENMEETINGS-2567-investigate-performance-monitoring by this push: new ae7a795 OPENMEETINGS-2567 Reduce log noise to info ae7a795 is described below commit ae7a7959c4c514d3385864149b44333e4684ef33 Author: Sebastian Wagner AuthorDate: Fri Feb 5 16:14:01 2021 +1300 OPENMEETINGS-2567 Reduce log noise to info --- openmeetings-web/src/main/webapp/WEB-INF/classes/logback-config.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openmeetings-web/src/main/webapp/WEB-INF/classes/logback-config.xml b/openmeetings-web/src/main/webapp/WEB-INF/classes/logback-config.xml index 87b35a0..582ce86 100644 --- a/openmeetings-web/src/main/webapp/WEB-INF/classes/logback-config.xml +++ b/openmeetings-web/src/main/webapp/WEB-INF/classes/logback-config.xml @@ -45,7 +45,7 @@ - +
[jira] [Commented] (OPENMEETINGS-2567) Investigate Performance logging options
[ https://issues.apache.org/jira/browse/OPENMEETINGS-2567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17279250#comment-17279250 ] ASF subversion and git services commented on OPENMEETINGS-2567: --- Commit 5d507e5ab5e2fd95508cce048632f55c5ca7446c in openmeetings's branch refs/heads/feature/OPENMEETINGS-2567-investigate-performance-monitoring from Sebastian Wagner [ https://gitbox.apache.org/repos/asf?p=openmeetings.git;h=5d507e5 ] OPENMEETINGS-2567 ADd some logs and add some indexes. > Investigate Performance logging options > --- > > Key: OPENMEETINGS-2567 > URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2567 > Project: Openmeetings > Issue Type: Task > Components: Performance >Affects Versions: 5.1.0 >Reporter: Sebastian Wagner >Assignee: Sebastian Wagner >Priority: Major > > A placeholder Jira to log changes around investigating performance logging > options. > Investigation happen in branch, but still good to have Jira to log commits in > it. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[openmeetings] branch feature/OPENMEETINGS-2567-investigate-performance-monitoring updated: OPENMEETINGS-2567 ADd some logs and add some indexes.
This is an automated email from the ASF dual-hosted git repository. sebawagner pushed a commit to branch feature/OPENMEETINGS-2567-investigate-performance-monitoring in repository https://gitbox.apache.org/repos/asf/openmeetings.git The following commit(s) were added to refs/heads/feature/OPENMEETINGS-2567-investigate-performance-monitoring by this push: new 5d507e5 OPENMEETINGS-2567 ADd some logs and add some indexes. 5d507e5 is described below commit 5d507e5ab5e2fd95508cce048632f55c5ca7446c Author: Sebastian Wagner AuthorDate: Fri Feb 5 14:03:40 2021 +1300 OPENMEETINGS-2567 ADd some logs and add some indexes. --- .../main/java/org/apache/openmeetings/db/dao/user/UserDao.java | 9 - .../java/org/apache/openmeetings/db/entity/user/Address.java | 5 - .../main/java/org/apache/openmeetings/db/entity/user/User.java | 2 ++ .../main/java/org/apache/openmeetings/web/room/RoomPanel.java| 4 4 files changed, 18 insertions(+), 2 deletions(-) diff --git a/openmeetings-db/src/main/java/org/apache/openmeetings/db/dao/user/UserDao.java b/openmeetings-db/src/main/java/org/apache/openmeetings/db/dao/user/UserDao.java index cc4bdd9..7d7313e 100644 --- a/openmeetings-db/src/main/java/org/apache/openmeetings/db/dao/user/UserDao.java +++ b/openmeetings-db/src/main/java/org/apache/openmeetings/db/dao/user/UserDao.java @@ -580,6 +580,7 @@ public class UserDao implements IGroupAdminDataProviderDao { return getUserProfileQuery(Long.class, userId, text, offers, search, null, false).getSingleResult(); } + @TimedDatabase public User getExternalUser(String extId, String extType) { return single(fillLazy(em , oem -> oem.createNamedQuery("getExternalUser", User.class) @@ -623,6 +624,7 @@ public class UserDao implements IGroupAdminDataProviderDao { */ @TimedDatabase public User login(String userOrEmail, String userpass) throws OmException { + long start = System.currentTimeMillis(); List users = em.createNamedQuery("getUserByLoginOrEmail", User.class) .setParameter("userOrEmail", userOrEmail) .setParameter("type", Type.USER) @@ -652,7 +654,12 @@ public class UserDao implements IGroupAdminDataProviderDao { } u.setLastlogin(new Date()); - return update(u, u.getId()); + User updatedUser = update(u, u.getId()); + + long finish = System.currentTimeMillis(); + long timeElapsed = finish - start; + log.info("login - Elapsed time " + timeElapsed); + return updatedUser; } public List getByExpiredHash(long ttl) { diff --git a/openmeetings-db/src/main/java/org/apache/openmeetings/db/entity/user/Address.java b/openmeetings-db/src/main/java/org/apache/openmeetings/db/entity/user/Address.java index bf01604..b60cec8 100644 --- a/openmeetings-db/src/main/java/org/apache/openmeetings/db/entity/user/Address.java +++ b/openmeetings-db/src/main/java/org/apache/openmeetings/db/entity/user/Address.java @@ -23,6 +23,7 @@ import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; +import javax.persistence.Index; import javax.persistence.Lob; import javax.persistence.Table; import javax.xml.bind.annotation.XmlElement; @@ -32,7 +33,9 @@ import javax.xml.bind.annotation.XmlTransient; import org.apache.openmeetings.db.entity.HistoricalEntity; @Entity -@Table(name = "address") +@Table(name = "address", indexes = { + @Index(name = "email_idx", columnList = "email") +}) @XmlRootElement(name = "address") public class Address extends HistoricalEntity { private static final long serialVersionUID = 1L; diff --git a/openmeetings-db/src/main/java/org/apache/openmeetings/db/entity/user/User.java b/openmeetings-db/src/main/java/org/apache/openmeetings/db/entity/user/User.java index a39b8c4..5e8caf8 100644 --- a/openmeetings-db/src/main/java/org/apache/openmeetings/db/entity/user/User.java +++ b/openmeetings-db/src/main/java/org/apache/openmeetings/db/entity/user/User.java @@ -121,6 +121,8 @@ import org.apache.wicket.util.string.Strings; @Index(name = "login_idx", columnList = "login") , @Index(name = "lastname_idx", columnList = "lastname") , @Index(name = "firstname_idx", columnList = "firstname") + , @Index(name = "type_idx", columnList = "type") + , @Index(name = "external_idx", columnList = "external_id") }) @XmlRootElement(name = USER_NODE) public class User extends HistoricalEntity { diff --git a/openmeetings-web/src/main/java/org/apache/openmeetings/web/room/RoomPanel.java b/openmeetings-web/src/main/java/org/apache/openmeetings/web/room/RoomPanel.java index
[jira] [Updated] (OPENMEETINGS-2232) CSS clean-up and move to SASS
[ https://issues.apache.org/jira/browse/OPENMEETINGS-2232?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Maxim Solodovnik updated OPENMEETINGS-2232: --- Fix Version/s: (was: 6.0.0) 6.1.0 > CSS clean-up and move to SASS > - > > Key: OPENMEETINGS-2232 > URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2232 > Project: Openmeetings > Issue Type: Improvement > Components: UI >Affects Versions: 5.0.0-M3 >Reporter: Maxim Solodovnik >Assignee: Maxim Solodovnik >Priority: Major > Fix For: 6.1.0 > > > CSS selectors are complex now > SASS might allow to write cleaner code -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (OPENMEETINGS-2519) (6.0.0) Library versions need to be updated
[ https://issues.apache.org/jira/browse/OPENMEETINGS-2519?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17278661#comment-17278661 ] ASF subversion and git services commented on OPENMEETINGS-2519: --- Commit 9c3855154fc29bf8186dfe7b2bc1be18781069e5 in openmeetings's branch refs/heads/master from Maxim Solodovnik [ https://gitbox.apache.org/repos/asf?p=openmeetings.git;h=9c38551 ] [OPENMEETINGS-2519] web.xml is merged with latest from Tomcat > (6.0.0) Library versions need to be updated > --- > > Key: OPENMEETINGS-2519 > URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2519 > Project: Openmeetings > Issue Type: Task > Components: Builds >Affects Versions: 6.0.0 >Reporter: Maxim Solodovnik >Assignee: Maxim Solodovnik >Priority: Major > Fix For: 6.0.0 > > > Library versions need to be updated -- This message was sent by Atlassian Jira (v8.3.4#803005)
[openmeetings] branch master updated: [OPENMEETINGS-2519] web.xml is merged with latest from Tomcat
This is an automated email from the ASF dual-hosted git repository. solomax pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/openmeetings.git The following commit(s) were added to refs/heads/master by this push: new 9c38551 [OPENMEETINGS-2519] web.xml is merged with latest from Tomcat 9c38551 is described below commit 9c3855154fc29bf8186dfe7b2bc1be18781069e5 Author: Maxim Solodovnik AuthorDate: Thu Feb 4 15:33:34 2021 +0700 [OPENMEETINGS-2519] web.xml is merged with latest from Tomcat --- openmeetings-server/src/main/assembly/conf/web.xml | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/openmeetings-server/src/main/assembly/conf/web.xml b/openmeetings-server/src/main/assembly/conf/web.xml index f10e8b7..8383096 100644 --- a/openmeetings-server/src/main/assembly/conf/web.xml +++ b/openmeetings-server/src/main/assembly/conf/web.xml @@ -543,7 +543,7 @@ - + @@ -4253,6 +4253,10 @@ application/x-doom +wasm +application/wasm + + wav audio/x-wav @@ -4658,10 +4662,6 @@ application/x-compress -Z -application/x-compress - - z1 application/x-zmachine